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

Make multiple static analysis results visible in a pipeline script

    • 5.0.0-beta2

      I'd like to be able to tell if the static analysis publisher I executed failed the build. That is easy on serial pipelines by checking the currentBuild.result, but when executing tasks in parallel, I cannot rely on that.

      It would be even better if the actual data was made available, in which case I could drop the thresholds and use more complex logic.

          [JENKINS-37325] Make multiple static analysis results visible in a pipeline script

          Daniel Sobral created issue -
          Ulli Hafner made changes -
          Link New: This issue is related to JENKINS-40164 [ JENKINS-40164 ]
          Ulli Hafner made changes -
          Link New: This issue is related to JENKINS-30551 [ JENKINS-30551 ]

          Ulli Hafner added a comment -

          I.e. you want to obtain individual results from parallel invocations of the warnings plugin (see JENKINS-40164)?

          Ulli Hafner added a comment - I.e. you want to obtain individual results from parallel invocations of the warnings plugin (see JENKINS-40164 )?
          Ulli Hafner made changes -
          Summary Original: Make static analysis results visible from a Pipeline New: Make static analysis results visible from a pipeline
          Ulli Hafner made changes -
          Summary Original: Make static analysis results visible from a pipeline New: Make multiple static analysis results visible in a pipeline script
          Ulli Hafner made changes -
          Labels New: analysis-core-2.0

          Ulli Hafner added a comment -

          Ulli Hafner added a comment - I found some documentation about doing this: https://github.com/jenkinsci/workflow-step-api-plugin/blob/master/README.md .
          Ulli Hafner made changes -
          Link New: This issue relates to JENKINS-44450 [ JENKINS-44450 ]
          Ulli Hafner made changes -
          Remote Link New: This issue links to "Page (Jenkins Wiki)" [ 17274 ]

            drulli Ulli Hafner
            dcsobral Daniel Sobral
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: