Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12046

TestNG shouldn't look for result files if build was aborted

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • testng-plugin
    • None

      When the build was aborted the plugin still seems to scan the workspace for TestNG result files.
      This is only a minor issue, but could save some time. See build log below where we could have spared 50 seconds by this.

      17:48:11 Build was aborted
      17:48:11 [WARNINGS] Skipping publisher since build result is ABORTED
      17:48:11 Archiving artifacts
      17:48:11 ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
      17:48:11 Checking console output
      17:48:11 Looking for TestNG results report in workspace using pattern: */target/surefire-reports/*/testng-results.xml
      17:49:08 [ci-game] evaluating rule: Build result
      17:49:08 [ci-game] evaluating rule: Increased number of failed tests

            nalin_makar nalin_makar
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: