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
AUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
BoostTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
CTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
CUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
Checkpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
CppTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
CppUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
Custompattern : String
customXSL : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
embUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
FPCUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
gtesterpattern : 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
GoogleTestpattern : 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
JUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
MSTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
MbUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
NUnit3pattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
NUnit2pattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
PHPUnitpattern : 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
QtTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
UnitTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
Valgrindpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
xUnitDotNetpattern : 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
failedfailureNewThreshold : String (optional)
failureThreshold : String (optional)
unstableNewThreshold : String (optional)
unstableThreshold : String (optional)
passedfailureNewThreshold : String (optional)
failureThreshold : String (optional)
unstableNewThreshold : String (optional)
unstableThreshold : String (optional)
skippedfailureNewThreshold : 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)
attachmentsshowAttachmentsAtClassLevel : boolean (optional)
showAttachmentsInStdOut : boolean (optional)
$class: 'AutomateTestDataPublisher'$class: 'ClaimTestDataPublisher'displayClaimActionsInTestResultsTable : boolean
junitFlakyTestPublisherjiraTestResultReporterconfigs
jiraSelectableArrayFieldfieldKey : String
values
value : String
jiraSelectableFieldfieldKey : String
value : String
jiraStringArrayFieldfieldKey : String
values
value : String
jiraStringFieldfieldKey : 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
jiraUserFieldfieldKey : 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
manualAddIssue : 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
AUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
BoostTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
CTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
CUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
Checkpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
CppTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
CppUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
Custompattern : String
customXSL : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
embUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
FPCUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
gtesterpattern : 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
GoogleTestpattern : 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
JUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
MSTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
MbUnitpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
NUnit3pattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
NUnit2pattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
PHPUnitpattern : 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
QtTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
UnitTestpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
Valgrindpattern : String
deleteOutputFiles : boolean (optional)
excludesPattern : String (optional)
failIfNotNew : boolean (optional)
skipNoTestFiles : boolean (optional)
stopProcessingIfError : boolean (optional)
xUnitDotNetpattern : 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)
attachmentsshowAttachmentsAtClassLevel : boolean (optional)
showAttachmentsInStdOut : boolean (optional)
$class: 'AutomateTestDataPublisher'$class: 'ClaimTestDataPublisher'displayClaimActionsInTestResultsTable : boolean
junitFlakyTestPublisherjiraTestResultReporterconfigs
jiraSelectableArrayFieldfieldKey : String
values
value : String
jiraSelectableFieldfieldKey : String
value : String
jiraStringArrayFieldfieldKey : String
values
value : String
jiraStringFieldfieldKey : 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
jiraUserFieldfieldKey : 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
manualAddIssue : 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)
failedfailureNewThreshold : String (optional)
failureThreshold : String (optional)
unstableNewThreshold : String (optional)
unstableThreshold : String (optional)
passedfailureNewThreshold : String (optional)
failureThreshold : String (optional)
unstableNewThreshold : String (optional)
unstableThreshold : String (optional)
skippedfailureNewThreshold : 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.