[JIRA] (JENKINS-57636) Generate graphs/links when report not generated

6 views
Skip to first unread message

jakub@pawlinski.pl (JIRA)

unread,
May 23, 2019, 6:12:02 AM5/23/19
to jenkinsc...@googlegroups.com
Jakub Pawlinski created an issue
 
Jenkins / Improvement JENKINS-57636
Generate graphs/links when report not generated
Issue Type: Improvement Improvement
Assignee: Ulli Hafner
Components: warnings-ng-plugin
Created: 2019-05-23 10:11
Priority: Minor Minor
Reporter: Jakub Pawlinski

I have a build that in some cases is avoided - logs are not produced.

I would like to be able to compensate reports generation, so no matter if new results are collected, the graph and links are displayed. Currenly only a build that records issues is showing both of those.

I tried to compensate it by generating report with empty issues collection but then the graph drops to 0

 

Example - every second build generates report:

pipeline {
    agent any
    stages {
        stage ('recordIssues') {
            when { expression { env.BUILD_NUMBER.toBigInteger().mod( 2 ) == 0 } }
            steps {
                recordIssues(
                    tools: [
                        intel(pattern: "logs\\**\\*.*"), 
                    ]
                )
            }
        }        stage ('compensate') {
            when { expression { env.BUILD_NUMBER.toBigInteger().mod( 2 ) != 0 } }
            steps {
                echo "don't know how..."
            }
        }
    }    
}
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ullrich.hafner@gmail.com (JIRA)

unread,
May 23, 2019, 8:58:02 AM5/23/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Improvement JENKINS-57636
 
Re: Generate graphs/links when report not generated

Which links do you mean? The link on the job page or on the build page?

jakub@pawlinski.pl (JIRA)

unread,
May 29, 2019, 6:55:01 AM5/29/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages