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

Make multiple static analysis results visible in a pipeline script

    Details

    • Similar Issues:
    • Released As:
      5.0.0-beta2

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -

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

            Show
            drulli Ulli Hafner added a comment - I.e. you want to obtain individual results from parallel invocations of the warnings plugin (see JENKINS-40164 )?
            Hide
            drulli Ulli Hafner added a comment -
            Show
            drulli Ulli Hafner added a comment - I found some documentation about doing this: https://github.com/jenkinsci/workflow-step-api-plugin/blob/master/README.md .
            Hide
            drulli 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?

            Show
            drulli 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?
            Hide
            drulli Ulli Hafner added a comment -

            Released in 5.0.0-beta2.

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: