-
Bug
-
Resolution: Fixed
-
Minor
-
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?
Hmm, on our ci server charts are shown for branches as well: https://ci.jenkins.io/job/Plugins/job/warnings-ng-plugin/job/JENKINS-57638-custom-id-origin/
Do you have links to the results on the job level view? Or are the links only visible on the build page?
Does the trend show up if you navigate into the results? (Example https://ci.jenkins.io/job/Plugins/job/warnings-ng-plugin/job/JENKINS-57638-custom-id-origin/3/pmd/).