• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • junit-plugin

      Although it is possible to invoke the JUnitResultArchiver reporter from within a workflow script, it is not possible to get the results of the tests in order to branch within the script for example.

      We need a archiveTestResults step that attaches the results to the build but also returns a summary of the results.

      (Pull request forthcoming)

          [JENKINS-26276] Expose JUnit test results to workflow scripts

          Alexander Bertram created issue -

          Pull request here: https://github.com/jenkinsci/junit-plugin/pull/9
          There seems to be an issue with the commit status: the 'default' context has been set to pending but 'jenkins' context is set to success.
          The pull request does seem to have been successfully built however:
          https://jenkins.ci.cloudbees.com/job/plugins/job/junit-plugin/36/

          Alexander Bertram added a comment - Pull request here: https://github.com/jenkinsci/junit-plugin/pull/9 There seems to be an issue with the commit status: the 'default' context has been set to pending but 'jenkins' context is set to success. The pull request does seem to have been successfully built however: https://jenkins.ci.cloudbees.com/job/plugins/job/junit-plugin/36/
          Alexander Bertram made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]

          Jesse Glick added a comment -

          There seems to be an issue with the commit status

          Yes, the plugin handling PRs got broken by some change on GitHub (I think); we are waiting for kohsuke to fix it.

          Jesse Glick added a comment - There seems to be an issue with the commit status Yes, the plugin handling PRs got broken by some change on GitHub (I think); we are waiting for kohsuke to fix it.
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Alexander Bertram [ akbertram ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "junit-plugin PR 9 (Web Link)" [ 12003 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-25851 [ JENKINS-25851 ]
          Jesse Glick made changes -
          Link Original: This issue is related to JENKINS-25851 [ JENKINS-25851 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26834 [ JENKINS-26834 ]

            akbertram Alexander Bertram
            akbertram Alexander Bertram
            Votes:
            15 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated: