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.

xUnit plugin

step([$class: 'XUnitPublisher']): Publish xUnit test result report

  • tools
      Array / List of Nested Choice of Objects
    • AUnit
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • BoostTest
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • CTest
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • CUnit
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • Check
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • CppTest
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • CppUnit
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • Custom
      • pattern
        • Type: String
      • customXSL
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • embUnit
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • FPCUnit
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • gtester
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • $class: 'GallioPluginType'
      • pattern
        • Type: String
      • faildedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • GoogleTest
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • $class: 'JSUnitPluginType'
      • pattern
        • Type: String
      • faildedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • JUnit
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • MSTest
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • MbUnit
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • NUnit3
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • NUnit2
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • PHPUnit
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • $class: 'ParasoftSOAtest9xType'
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • $class: 'ParasoftType'
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • QtTest
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • UnitTest
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • Valgrind
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • xUnitDotNet
      • pattern
        • Type: String
      • deleteOutputFiles (optional)
        • Type: boolean
      • excludesPattern (optional)
        • Type: String
      • failIfNotNew (optional)
        • Type: boolean
      • skipNoTestFiles (optional)
        • Type: boolean
      • stopProcessingIfError (optional)
        • Type: boolean
    • $class: 'hudson.plugins.testcomplete.TestCompleteTestType'
      • pattern
        • Type: String
      • failedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
      • testFilterPattern
        • Type: String
    • $class: 'jenkins.plugins.xunit.tc11.TestCompleteTestType'
      • pattern
        • Type: String
      • failedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
      • testFilterPattern
        • Type: String
  • thresholds
      Array / List of Nested Choice of Objects
    • failed
      • failureNewThreshold (optional)
        • Type: String
      • failureThreshold (optional)
        • Type: String
      • unstableNewThreshold (optional)
        • Type: String
      • unstableThreshold (optional)
        • Type: String
    • passed
      • failureNewThreshold (optional)
        • Type: String
      • failureThreshold (optional)
        • Type: String
      • unstableNewThreshold (optional)
        • Type: String
      • unstableThreshold (optional)
        • Type: String
    • skipped
      • failureNewThreshold (optional)
        • Type: String
      • failureThreshold (optional)
        • Type: String
      • unstableNewThreshold (optional)
        • Type: String
      • unstableThreshold (optional)
        • Type: String
  • thresholdMode
    • Type: int
  • testTimeMargin
    • Type: String
  • followSymlink (optional)
    • Type: boolean
  • reduceLog (optional)
    Cuts the standard output and error of reports to a reasonable size.

    This reduce usage of memory when Jenkins parse the aggregate report when hundred test failure with a huge logs.

    • Type: boolean
  • sleepTime (optional)
    The time in ms for which the conversion process will be suspended before starting to process the next block of reports.

    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.

    • Type: long
  • testDataPublishers (optional)
      Array / List of Nested Choice of Objects
    • attachments
      • $class: 'AutomateTestDataPublisher'
        • $class: 'ClaimTestDataPublisher'
          • $class: 'JUnitFlakyTestDataPublisher'
            • jiraTestResultReporter
              • configs
                  Array / List of Nested Choice of Objects
                • jiraSelectableArrayField
                  • fieldKey
                    • Type: String
                  • values
                      Array / List of Nested Object
                    • value
                      • Type: String
                • jiraSelectableField
                  • fieldKey
                    • Type: String
                  • value
                    • Type: String
                • jiraStringArrayField
                  • fieldKey
                    • Type: String
                  • values
                      Array / List of Nested Object
                    • value
                      • Type: String
                • jiraStringField
                  • fieldKey
                    • Type: 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

                    WARNING: Your input will not be validated against the server's metadata. Check Jira to make sure you insert a valid value for this field and use the Validate Fields button bellow, otherwise the plugin will fail to create your issue.

                    • Type: String
                • jiraUserField
                  • fieldKey
                    • Type: 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.

                    • Type: String
              • projectKey
                • Type: String
              • issueType
                • Type: String
              • autoRaiseIssue
                Create issues automatically for failing tests that don't yet have one linked.
                • Type: boolean
              • autoResolveIssue
                Automatically apply transition to resolve issues linked to tests, if the test passes.
                Experimental feature: For now it only looks for the first transition that contains in its name "resolve". If it is found, it will be applied, if not, the status of the issue will not change. In future releases this will be parametrized.
                • Type: boolean
              • autoUnlinkIssue
                • Type: boolean
            • $class: 'JunitResultPublisher'
              If checked, each JUnit test result XML file will be examined to see if it represents a SOASTA CloudTest composition. For applicable tests, a hyperlink to the SOASTA CloudTest dashboard will be inserted into the test report.
              • urlOverride
                Specify the CloudTest URL to use when creating hyperlinks to CloudTest dashboards. Normally, this can be left blank, and the URL will be extracted from the test result file.
                • Type: String
            • $class: 'PerfSigTestDataPublisher'
              • dynatraceProfile
                • Type: String
            • $class: 'SahaginTestDataPublishser'
              • $class: 'SauceOnDemandReportPublisher'
                Show embedded Sauce OnDemand reports, including video and logs. Your test should use Selenium client factory (at least version 1.3 to match test cases to individual Sauce OnDemand jobs).
                • jobVisibility (optional)
                  Set your test results visibility permissions. The Sauce Documentation has all the various levels described in detail.
                  • Type: String
              • $class: 'StabilityTestDataPublisher'
                • $class: 'TestCafePublisher'
                  • $class: 'TestReporter'
                    • $class: 'YoutrackTestDataPublisher'

                    xunit: Publish xUnit test result report

                    • tools
                        Array / List of Nested Choice of Objects
                      • AUnit
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • BoostTest
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • CTest
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • CUnit
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • Check
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • CppTest
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • CppUnit
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • Custom
                        • pattern
                          • Type: String
                        • customXSL
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • embUnit
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • FPCUnit
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • gtester
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • $class: 'GallioPluginType'
                        • pattern
                          • Type: String
                        • faildedIfNotNew
                          • Type: boolean
                        • deleteOutputFiles
                          • Type: boolean
                        • stopProcessingIfError
                          • Type: boolean
                      • GoogleTest
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • $class: 'JSUnitPluginType'
                        • pattern
                          • Type: String
                        • faildedIfNotNew
                          • Type: boolean
                        • deleteOutputFiles
                          • Type: boolean
                        • stopProcessingIfError
                          • Type: boolean
                      • JUnit
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • MSTest
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • MbUnit
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • NUnit3
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • NUnit2
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • PHPUnit
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • $class: 'ParasoftSOAtest9xType'
                        • pattern
                          • Type: String
                        • skipNoTestFiles
                          • Type: boolean
                        • failIfNotNew
                          • Type: boolean
                        • deleteOutputFiles
                          • Type: boolean
                        • stopProcessingIfError
                          • Type: boolean
                      • $class: 'ParasoftType'
                        • pattern
                          • Type: String
                        • skipNoTestFiles
                          • Type: boolean
                        • failIfNotNew
                          • Type: boolean
                        • deleteOutputFiles
                          • Type: boolean
                        • stopProcessingIfError
                          • Type: boolean
                      • QtTest
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • UnitTest
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • Valgrind
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • xUnitDotNet
                        • pattern
                          • Type: String
                        • deleteOutputFiles (optional)
                          • Type: boolean
                        • excludesPattern (optional)
                          • Type: String
                        • failIfNotNew (optional)
                          • Type: boolean
                        • skipNoTestFiles (optional)
                          • Type: boolean
                        • stopProcessingIfError (optional)
                          • Type: boolean
                      • $class: 'hudson.plugins.testcomplete.TestCompleteTestType'
                        • pattern
                          • Type: String
                        • failedIfNotNew
                          • Type: boolean
                        • deleteOutputFiles
                          • Type: boolean
                        • stopProcessingIfError
                          • Type: boolean
                        • testFilterPattern
                          • Type: String
                      • $class: 'jenkins.plugins.xunit.tc11.TestCompleteTestType'
                        • pattern
                          • Type: String
                        • failedIfNotNew
                          • Type: boolean
                        • deleteOutputFiles
                          • Type: boolean
                        • stopProcessingIfError
                          • Type: boolean
                        • testFilterPattern
                          • Type: String
                    • followSymlink (optional)
                      • Type: boolean
                    • reduceLog (optional)
                      • Type: boolean
                    • sleepTime (optional)
                      • Type: long
                    • testDataPublishers (optional)
                        Array / List of Nested Choice of Objects
                      • attachments
                        • $class: 'AutomateTestDataPublisher'
                          • $class: 'ClaimTestDataPublisher'
                            • $class: 'JUnitFlakyTestDataPublisher'
                              • jiraTestResultReporter
                                • configs
                                    Array / List of Nested Choice of Objects
                                  • jiraSelectableArrayField
                                    • fieldKey
                                      • Type: String
                                    • values
                                        Array / List of Nested Object
                                      • value
                                        • Type: String
                                  • jiraSelectableField
                                    • fieldKey
                                      • Type: String
                                    • value
                                      • Type: String
                                  • jiraStringArrayField
                                    • fieldKey
                                      • Type: String
                                    • values
                                        Array / List of Nested Object
                                      • value
                                        • Type: String
                                  • jiraStringField
                                    • fieldKey
                                      • Type: 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

                                      WARNING: Your input will not be validated against the server's metadata. Check Jira to make sure you insert a valid value for this field and use the Validate Fields button bellow, otherwise the plugin will fail to create your issue.

                                      • Type: String
                                  • jiraUserField
                                    • fieldKey
                                      • Type: 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.

                                      • Type: String
                                • projectKey
                                  • Type: String
                                • issueType
                                  • Type: String
                                • autoRaiseIssue
                                  Create issues automatically for failing tests that don't yet have one linked.
                                  • Type: boolean
                                • autoResolveIssue
                                  Automatically apply transition to resolve issues linked to tests, if the test passes.
                                  Experimental feature: For now it only looks for the first transition that contains in its name "resolve". If it is found, it will be applied, if not, the status of the issue will not change. In future releases this will be parametrized.
                                  • Type: boolean
                                • autoUnlinkIssue
                                  • Type: boolean
                              • $class: 'JunitResultPublisher'
                                If checked, each JUnit test result XML file will be examined to see if it represents a SOASTA CloudTest composition. For applicable tests, a hyperlink to the SOASTA CloudTest dashboard will be inserted into the test report.
                                • urlOverride
                                  Specify the CloudTest URL to use when creating hyperlinks to CloudTest dashboards. Normally, this can be left blank, and the URL will be extracted from the test result file.
                                  • Type: String
                              • $class: 'PerfSigTestDataPublisher'
                                • dynatraceProfile
                                  • Type: String
                              • $class: 'SahaginTestDataPublishser'
                                • $class: 'SauceOnDemandReportPublisher'
                                  Show embedded Sauce OnDemand reports, including video and logs. Your test should use Selenium client factory (at least version 1.3 to match test cases to individual Sauce OnDemand jobs).
                                  • jobVisibility (optional)
                                    Set your test results visibility permissions. The Sauce Documentation has all the various levels described in detail.
                                    • Type: String
                                • $class: 'StabilityTestDataPublisher'
                                  • $class: 'TestCafePublisher'
                                    • $class: 'TestReporter'
                                      • $class: 'YoutrackTestDataPublisher'
                                      • testTimeMargin (optional)
                                        • Type: String
                                      • thresholdMode (optional)
                                        • Type: int
                                      • thresholds (optional)
                                          Array / List of Nested Choice of Objects
                                        • failed
                                          • failureNewThreshold (optional)
                                            • Type: String
                                          • failureThreshold (optional)
                                            • Type: String
                                          • unstableNewThreshold (optional)
                                            • Type: String
                                          • unstableThreshold (optional)
                                            • Type: String
                                        • passed
                                          • failureNewThreshold (optional)
                                            • Type: String
                                          • failureThreshold (optional)
                                            • Type: String
                                          • unstableNewThreshold (optional)
                                            • Type: String
                                          • unstableThreshold (optional)
                                            • Type: String
                                        • skipped
                                          • failureNewThreshold (optional)
                                            • Type: String
                                          • failureThreshold (optional)
                                            • Type: String
                                          • unstableNewThreshold (optional)
                                            • Type: String
                                          • unstableThreshold (optional)
                                            • Type: String

                                      Was this page helpful?

                                      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.