[JIRA] (JENKINS-59960) no graph trend in multi branch job

8 views
Skip to first unread message

shurikgefter@gmail.com (JIRA)

unread,
Oct 28, 2019, 7:36:03 AM10/28/19
to jenkinsc...@googlegroups.com
Shurik Gefter created an issue
 
Jenkins / Bug JENKINS-59960
no graph trend in multi branch job
Issue Type: Bug Bug
Assignee: Ulli Hafner
Components: warnings-ng-plugin
Created: 2019-10-28 11:35
Priority: Minor Minor
Reporter: Shurik Gefter

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?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 30, 2019, 6:06:02 PM10/30/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Bug JENKINS-59960
 
Re: no graph trend in multi branch job

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/).

shurikgefter@gmail.com (JIRA)

unread,
Oct 31, 2019, 7:52:03 AM10/31/19
to jenkinsc...@googlegroups.com

It's look like that we need at least one success build in order to see the trend graph.

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 31, 2019, 8:08:02 AM10/31/19
to jenkinsc...@googlegroups.com
Change By: Ulli Hafner
Status: Open Fixed but Unreleased
Resolution: Not A Defect

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 31, 2019, 8:08:02 AM10/31/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Bug JENKINS-59960
 
Re: no graph trend in multi branch job

Failed builds are skipped by default. You can change that with the property ignoreFailedBuilds.

Reply all
Reply to author
Forward
0 new messages