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.
step([$class: 'XUnitPublisher'])
: Publish xUnit test result reporttools
AUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
BoostTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
CTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
CUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
Check
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
CppTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
CppUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
Custom
pattern
String
customXSL
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
embUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
FPCUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
gtester
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
$class: 'GallioPluginType'
pattern
String
faildedIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
GoogleTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
$class: 'JSUnitPluginType'
pattern
String
faildedIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
JUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
MSTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
MbUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
NUnit3
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
NUnit2
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
PHPUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
$class: 'ParasoftSOAtest9xType'
pattern
String
skipNoTestFiles
boolean
failIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
$class: 'ParasoftType'
pattern
String
skipNoTestFiles
boolean
failIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
QtTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
UnitTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
Valgrind
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
xUnitDotNet
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
$class: 'hudson.plugins.testcomplete.TestCompleteTestType'
pattern
String
failedIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
testFilterPattern
String
$class: 'jenkins.plugins.xunit.tc11.TestCompleteTestType'
pattern
String
failedIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
testFilterPattern
String
thresholds
failed
failureNewThreshold
(optional)
String
failureThreshold
(optional)
String
unstableNewThreshold
(optional)
String
unstableThreshold
(optional)
String
passed
failureNewThreshold
(optional)
String
failureThreshold
(optional)
String
unstableNewThreshold
(optional)
String
unstableThreshold
(optional)
String
skipped
failureNewThreshold
(optional)
String
failureThreshold
(optional)
String
unstableNewThreshold
(optional)
String
unstableThreshold
(optional)
String
thresholdMode
int
testTimeMargin
String
followSymlink
(optional)
boolean
reduceLog
(optional)
This reduce usage of memory when Jenkins parse the aggregate report when hundred test failure with a huge logs.
boolean
sleepTime
(optional)
Conversion is a CPU intensive work. May happens the ping thread on slave nodes to be killed. Increases this value to allow CPU be available to other thread.
long
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
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'
xunit
: Publish xUnit test result reporttools
AUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
BoostTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
CTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
CUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
Check
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
CppTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
CppUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
Custom
pattern
String
customXSL
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
embUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
FPCUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
gtester
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
$class: 'GallioPluginType'
pattern
String
faildedIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
GoogleTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
$class: 'JSUnitPluginType'
pattern
String
faildedIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
JUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
MSTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
MbUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
NUnit3
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
NUnit2
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
PHPUnit
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
$class: 'ParasoftSOAtest9xType'
pattern
String
skipNoTestFiles
boolean
failIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
$class: 'ParasoftType'
pattern
String
skipNoTestFiles
boolean
failIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
QtTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
UnitTest
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
Valgrind
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
xUnitDotNet
pattern
String
deleteOutputFiles
(optional)
boolean
excludesPattern
(optional)
String
failIfNotNew
(optional)
boolean
skipNoTestFiles
(optional)
boolean
stopProcessingIfError
(optional)
boolean
$class: 'hudson.plugins.testcomplete.TestCompleteTestType'
pattern
String
failedIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
testFilterPattern
String
$class: 'jenkins.plugins.xunit.tc11.TestCompleteTestType'
pattern
String
failedIfNotNew
boolean
deleteOutputFiles
boolean
stopProcessingIfError
boolean
testFilterPattern
String
followSymlink
(optional)
boolean
reduceLog
(optional)
boolean
sleepTime
(optional)
long
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
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'
testTimeMargin
(optional)
String
thresholdMode
(optional)
int
thresholds
(optional)
failed
failureNewThreshold
(optional)
String
failureThreshold
(optional)
String
unstableNewThreshold
(optional)
String
unstableThreshold
(optional)
String
passed
failureNewThreshold
(optional)
String
failureThreshold
(optional)
String
unstableNewThreshold
(optional)
String
unstableThreshold
(optional)
String
skipped
failureNewThreshold
(optional)
String
failureThreshold
(optional)
String
unstableNewThreshold
(optional)
String
unstableThreshold
(optional)
String
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.