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

no graph trend in multi branch job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • warnings-ng-plugin
    • None

      I defined the multi branch pipeline job that contains pylint execution and codenarc

      CI finished successfully and I see the links to report of pylint and codenarc, but I don't see the graph trend on the branch page.

      I use the "Warnings Next Generation Plugin" for reports.

      I run few times the same branch job, but the same result - no graph.

      Jenkinsfile ( only the relevant stages )

      ....
      stage("Static Code Analysis (Pylint check)"){
       steps{
       sh "docker run --rm -v ${WORKSPACE}/test/cfg/pylint.rc:/etc/pylint.cfg -v ${WORKSPACE}/test:/code eeacms/pylint |tee pylint.log"
       recordIssues(tools: [pyLint(pattern: 'pylint.log')])
       }
      }
      stage("Code lint"){
       steps{
       sh "docker run --rm -v ${WORKSPACE}:/ws:z -u `id -u`:`id -g` edupo/codenarc -report=html -report=xml -rulesetfiles=rulesets/basic.xml"
      recordIssues(tools: [codeNarc(pattern: 'CodeNarcXmlReport.xml')])
       }
      }
      ....
      

      When I did it in regular pipeline job type (the same jenkinsfile), I can see the trend graphs.

      What need to be done in order to see the graph in multi pipeline job type?

            drulli Ulli Hafner
            shurikg Shurik Gefter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: