The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
realtimeJUnit
: Display JUnit test results as they appearjunit
step would. The difference is that test results are displayed as they appear.
testResults
String
allowEmptyResults
(optional)
boolean
healthScaleFactor
(optional)
double
keepLongStdio
(optional)
boolean
testDataPublishers
(optional)
$class: 'AttachmentPublisher'
$class: 'AutomateTestDataPublisher'
$class: 'ClaimTestDataPublisher'
$class: 'JUnitFlakyTestDataPublisher'
jiraTestResultReporter
configs
jiraSelectableArrayField
fieldKey
String
values
value
String
jiraSelectableField
fieldKey
String
value
String
jiraStringArrayField
fieldKey
String
values
value
String
jiraStringField
fieldKey
String
value
Insert a string value.
You can include Jenkins Environment variables (see link), or the following variables defined by this plugin:
Variable usage: ${VAR_NAME}CRFL - new line
DEFAULT_SUMMARY - configured in the global configuration page
DEFAULT_DESCRIPTION - configured in the global configuration page
TEST_RESULT
TEST_NAME
TEST_FULL_NAME
TEST_STACK_TRACE
TEST_ERROR_DETAILS
TEST_DURATION
TEST_PACKAGE_NAME
TEST_PACKAGE_CLASS_METHOD_NAME
TEST_STDERR
TEST_STDOUT
TEST_OVERVIEW
TEST_AGE
TEST_PASS_COUNT
TEST_SKIPPED_COUNT
TEST_FAIL_SINCE
TEST_IS_REGRESSION - expands to true/false
BUILD_RESULT
String
jiraUserField
fieldKey
String
value
Insert the username.
For example if you have a user with:
Display Name: John Doe, Username: johndoe, Email: johndoe@email.com,
you need to write johndoe in this field. Any other value (like display name, or email) will not work.
String
projectKey
String
issueType
String
autoRaiseIssue
boolean
autoResolveIssue
boolean
autoUnlinkIssue
boolean
$class: 'JunitResultPublisher'
urlOverride
String
$class: 'PerfSigTestDataPublisher'
dynatraceProfile
String
$class: 'SahaginTestDataPublishser'
$class: 'SauceOnDemandReportPublisher'
jobVisibility
(optional)
String
$class: 'StabilityTestDataPublisher'
$class: 'TestCafePublisher'
$class: 'TestReporter'
$class: 'YoutrackTestDataPublisher'
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.