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

          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 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 added a comment -

          I'm trying to consolidate the requirements for the static analysis suite in pipeline jobs in a wiki page. Can you please read it carefully and comment or change it accordingly?

          Ulli Hafner added a comment - I'm trying to consolidate the requirements for the static analysis suite in pipeline jobs in a wiki page . Can you please read it carefully and comment or change it accordingly?

          Ulli Hafner added a comment -

          Released in 5.0.0-beta2.

          Ulli Hafner added a comment - Released in 5.0.0-beta2.

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

              Created:
              Updated:
              Resolved: