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 : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
BoostTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
CTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
CUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
Check
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
CppTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
CppUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
Custom
pattern : String
customXSL : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
embUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
FPCUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
gtester
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
$class: 'GallioPluginType'
pattern : String
faildedIfNotNew : boolean
deleteOutputFiles : boolean
stopProcessingIfError : boolean
GoogleTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
$class: 'JSUnitPluginType'
pattern : String
faildedIfNotNew : boolean
deleteOutputFiles : boolean
stopProcessingIfError : boolean
JUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
MSTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
MbUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
NUnit3
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
NUnit2
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
PHPUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
$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 : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
UnitTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
Valgrind
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
xUnitDotNet
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
$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 : String
(optional)
failureThreshold : String
(optional)
unstableNewThreshold : String
(optional)
unstableThreshold : String
(optional)
passed
failureNewThreshold : String
(optional)
failureThreshold : String
(optional)
unstableNewThreshold : String
(optional)
unstableThreshold : String
(optional)
skipped
failureNewThreshold : String
(optional)
failureThreshold : String
(optional)
unstableNewThreshold : String
(optional)
unstableThreshold : String
(optional)
thresholdMode : int
testTimeMargin : String
checksName : String
(optional)
followSymlink : boolean
(optional)
reduceLog : boolean
(optional)
This reduce usage of memory when Jenkins parse the aggregate report when hundred test failure with a huge logs.
skipPublishingChecks : boolean
(optional)
sleepTime : long
(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.
testDataPublishers
(optional)
attachments
$class: 'AutomateTestDataPublisher'
$class: 'ClaimTestDataPublisher'
displayClaimActionsInTestResultsTable : boolean
junitFlakyTestPublisher
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
additionalAttachments : boolean
(optional)
$class: 'JunitResultPublisher'
urlOverride : String
$class: 'PerfSigTestDataPublisher'
dynatraceProfile : String
$class: 'SahaginTestDataPublishser'
$class: 'SauceOnDemandReportPublisher'
jobVisibility : String
(optional)
$class: 'StabilityTestDataPublisher'
$class: 'TestCafePublisher'
$class: 'TestReporter'
$class: 'YoutrackTestDataPublisher'
xunit
: Publish xUnit test result reporttools
AUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
BoostTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
CTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
CUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
Check
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
CppTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
CppUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
Custom
pattern : String
customXSL : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
embUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
FPCUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
gtester
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
$class: 'GallioPluginType'
pattern : String
faildedIfNotNew : boolean
deleteOutputFiles : boolean
stopProcessingIfError : boolean
GoogleTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
$class: 'JSUnitPluginType'
pattern : String
faildedIfNotNew : boolean
deleteOutputFiles : boolean
stopProcessingIfError : boolean
JUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
MSTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
MbUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
NUnit3
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
NUnit2
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
PHPUnit
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
$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 : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
UnitTest
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
Valgrind
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
xUnitDotNet
pattern : String
deleteOutputFiles : boolean
(optional)
excludesPattern : String
(optional)
failIfNotNew : boolean
(optional)
skipNoTestFiles : boolean
(optional)
stopProcessingIfError : boolean
(optional)
$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
checksName : String
(optional)
followSymlink : boolean
(optional)
reduceLog : boolean
(optional)
skipPublishingChecks : boolean
(optional)
sleepTime : long
(optional)
testDataPublishers
(optional)
attachments
$class: 'AutomateTestDataPublisher'
$class: 'ClaimTestDataPublisher'
displayClaimActionsInTestResultsTable : boolean
junitFlakyTestPublisher
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
additionalAttachments : boolean
(optional)
$class: 'JunitResultPublisher'
urlOverride : String
$class: 'PerfSigTestDataPublisher'
dynatraceProfile : String
$class: 'SahaginTestDataPublishser'
$class: 'SauceOnDemandReportPublisher'
jobVisibility : String
(optional)
$class: 'StabilityTestDataPublisher'
$class: 'TestCafePublisher'
$class: 'TestReporter'
$class: 'YoutrackTestDataPublisher'
testTimeMargin : String
(optional)
thresholdMode : int
(optional)
thresholds
(optional)
failed
failureNewThreshold : String
(optional)
failureThreshold : String
(optional)
unstableNewThreshold : String
(optional)
unstableThreshold : String
(optional)
passed
failureNewThreshold : String
(optional)
failureThreshold : String
(optional)
unstableNewThreshold : String
(optional)
unstableThreshold : String
(optional)
skipped
failureNewThreshold : String
(optional)
failureThreshold : String
(optional)
unstableNewThreshold : String
(optional)
unstableThreshold : String
(optional)
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.