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 : boolean
(optional)
healthScaleFactor : double
(optional)
keepLongStdio : boolean
(optional)
parseInterval : long
(optional)
The interval between two file system scans to parse test results (in seconds). Must be a positive value greater than 0. Default value is calculated as 1/100 of the estimated build duration, but never more often than every 5 seconds.
skipMarkingBuildUnstable : boolean
(optional)
stdioRetention : String
(optional)
testDataPublishers
(optional)
attachments
$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 : String
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
jiraUserField
fieldKey : String
value : String
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.
projectKey : String
issueType : String
autoRaiseIssue : boolean
autoResolveIssue : boolean
autoUnlinkIssue : boolean
overrideResolvedIssues : boolean
$class: 'JunitResultPublisher'
urlOverride : String
$class: 'PerfSigTestDataPublisher'
dynatraceProfile : String
$class: 'SahaginTestDataPublishser'
$class: 'SauceOnDemandReportPublisher'
jobVisibility : String
(optional)
$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.