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: 'XUnitBuilder']): Process xUnit test result report

  • tools
      Array/List
      Nested Choice of Objects
    • AUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • BoostTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • CTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • CUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • Check
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • CppTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • CppUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • $class: 'CpptestPluginType'
      • pattern
        • Type: String
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
    • Custom
      • pattern
        • Type: String
      • customXSL
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • embUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • FPCUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • gtester
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • $class: 'GallioPluginType'
      • pattern
        • Type: String
      • faildedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • GoogleTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • $class: 'JSUnitPluginType'
      • pattern
        • Type: String
      • faildedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • JUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • MSTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • MbUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • NUnit3
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • NUnit2
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • PHPUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • 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
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • $class: 'SCTMTestType'
      • pattern
        • Type: String
      • faildedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
    • UnitTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • Valgrind
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • xUnitDotNet
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • 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
      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
  • reduceLog (optional)
    • Type: boolean

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

  • tools
      Array/List
      Nested Choice of Objects
    • AUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • BoostTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • CTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • CUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • Check
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • CppTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • CppUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • $class: 'CpptestPluginType'
      • pattern
        • Type: String
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
    • Custom
      • pattern
        • Type: String
      • customXSL
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • embUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • FPCUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • gtester
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • $class: 'GallioPluginType'
      • pattern
        • Type: String
      • faildedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • GoogleTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • $class: 'JSUnitPluginType'
      • pattern
        • Type: String
      • faildedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • JUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • MSTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • MbUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • NUnit3
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • NUnit2
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • PHPUnit
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • 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
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • $class: 'SCTMTestType'
      • pattern
        • Type: String
      • faildedIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
    • UnitTest
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • Valgrind
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • Type: boolean
    • xUnitDotNet
      • pattern
        • Type: String
      • skipNoTestFiles
        • Type: boolean
      • failIfNotNew
        • Type: boolean
      • deleteOutputFiles
        • Type: boolean
      • stopProcessingIfError
        • 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
      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
  • 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
      Nested Choice of Objects
    • $class: 'AttachmentPublisher'
      • $class: 'AutomateTestDataPublisher'
        • $class: 'ClaimTestDataPublisher'
          • $class: 'JUnitFlakyTestDataPublisher'
            • jiraTestResultReporter
              • configs
                  Array/List
                  Nested Choice of Objects
                • jiraSelectableArrayField
                  • fieldKey
                    • Type: String
                  • values
                      Array/List
                      Nested Object
                    • value
                      • Type: String
                • jiraSelectableField
                  • fieldKey
                    • Type: String
                  • value
                    • Type: String
                • jiraStringArrayField
                  • fieldKey
                    • Type: String
                  • values
                      Array/List
                      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_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
                • $class: 'UserFields'
                  • 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: 'TestReporter'

                xunit: Publish xUnit test result report

                • tools
                    Array/List
                    Nested Choice of Objects
                  • AUnit
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • BoostTest
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • CTest
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • CUnit
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • Check
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • CppTest
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • CppUnit
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • $class: 'CpptestPluginType'
                    • pattern
                      • Type: String
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                  • Custom
                    • pattern
                      • Type: String
                    • customXSL
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • embUnit
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • FPCUnit
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • gtester
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • $class: 'GallioPluginType'
                    • pattern
                      • Type: String
                    • faildedIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • GoogleTest
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • $class: 'JSUnitPluginType'
                    • pattern
                      • Type: String
                    • faildedIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • JUnit
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • MSTest
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • MbUnit
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • NUnit3
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • NUnit2
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • PHPUnit
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • 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
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • $class: 'SCTMTestType'
                    • pattern
                      • Type: String
                    • faildedIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                  • UnitTest
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • Valgrind
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • Type: boolean
                  • xUnitDotNet
                    • pattern
                      • Type: String
                    • skipNoTestFiles
                      • Type: boolean
                    • failIfNotNew
                      • Type: boolean
                    • deleteOutputFiles
                      • Type: boolean
                    • stopProcessingIfError
                      • 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
                • reduceLog (optional)
                  • Type: boolean
                • sleepTime (optional)
                  • Type: long
                • testDataPublishers (optional)
                    Array/List
                    Nested Choice of Objects
                  • $class: 'AttachmentPublisher'
                    • $class: 'AutomateTestDataPublisher'
                      • $class: 'ClaimTestDataPublisher'
                        • $class: 'JUnitFlakyTestDataPublisher'
                          • jiraTestResultReporter
                            • configs
                                Array/List
                                Nested Choice of Objects
                              • jiraSelectableArrayField
                                • fieldKey
                                  • Type: String
                                • values
                                    Array/List
                                    Nested Object
                                  • value
                                    • Type: String
                              • jiraSelectableField
                                • fieldKey
                                  • Type: String
                                • value
                                  • Type: String
                              • jiraStringArrayField
                                • fieldKey
                                  • Type: String
                                • values
                                    Array/List
                                    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_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
                              • $class: 'UserFields'
                                • 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: 'TestReporter'
                              • testTimeMargin (optional)
                                • Type: String
                              • thresholdMode (optional)
                                • Type: int
                              • thresholds (optional)
                                  Array/List
                                  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.