Using Multiple CheckStylePublishers in Jenkins Pipe

The definition of my Jenkins pipeline description looks like this (excerpt):

eslint: {stage('ES Lint') {
            sh "bin/eslint ..."
            step([$class: 'CheckStylePublisher', pattern:...])
        }},

stylelint: {stage('Style Lint') {
            sh "..."
            sh "..."
            step([$class: 'CheckStylePublisher', pattern: '...'])
            step([$class: 'CheckStylePublisher', pattern: '...'])
        }},

        ...

      

I have many steps that call CheckStylePublisher. Unfortunately, when displaying the output in the Jenkins UI, I see several CheckStylePublisher plots, but they do not have a link to the corresponding step.

CheckStyle graphs without info

Is there a way to name the CheckStylePublisher instances and associate them with the scene name in some way? Thanks to

+3
jenkins jenkins-pipeline


source to share


No one has answered this question yet

Check out similar questions:

709
How to restart Jenkins manually?
48
Jenkins Pipeline sh display name / shortcut
22
Jenkins Multibranch pip: What is the branch name variable?
3
Jenkins Piping and Semaphores
2
How do I create a Body block for a custom Jenkins Pipeline Step in the Java code of my Jenkins module?
2
Jenkins Pipeline Survey
2
Custom Jenkins Pipeline class - inconsistent processing of toString () method
1
Git LFS pulled after checkout results without step in jenkins pipe
0
Provide conditonal conditions for the plugin within the pipeline project
0
Moving "shared code" from jenkins scripting pipeline to "shared library"



All Articles
Loading...
X
Show
Funny
Dev
Pics