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

Trend Graphs are not showing in Jenkins Pipeline job

XMLWordPrintable

      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
          }
      }
      

            Unassigned Unassigned
            joysarkarcap1 Joy Sarkar
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: