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

Trend Graphs are not showing in Jenkins Pipeline job

    Details

    • Similar Issues:

      Description

      The Job-level trend graphs including the latest test result link for Junit are not showing up in pipeline job. I can see the reports xml are getting generated inside **/target/surefire-reports. is it something I am missing?

      I have configured my "Test" stage like below:

      stage("Test") {
          try {
              // Any maven phase that triggers the test phase can be used here.
              sh 'mvn clean test -B'
          } catch(err) {
              junit '**/target/surefire-reports/TEST-*.xml'
              if (currentBuild.result == 'UNSTABLE') {
                 currentBuild.result = 'FAILURE'
              }
              throw err
          }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              joysarkarcap1 Joy Sarkar
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: