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

Make multiple static analysis results visible in a pipeline script

    XMLWordPrintable

Details

    • 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

            dcsobral Daniel Sobral created issue -
            drulli Ulli Hafner made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-40164 [ JENKINS-40164 ]
            drulli Ulli Hafner made changes -
            Link This issue is related to JENKINS-30551 [ JENKINS-30551 ]
            drulli Ulli Hafner added a comment -

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

            drulli Ulli Hafner added a comment - I.e. you want to obtain individual results from parallel invocations of the warnings plugin (see JENKINS-40164 )?
            drulli Ulli Hafner made changes -
            Summary Make static analysis results visible from a Pipeline Make static analysis results visible from a pipeline
            drulli Ulli Hafner made changes -
            Summary Make static analysis results visible from a pipeline Make multiple static analysis results visible in a pipeline script
            drulli Ulli Hafner made changes -
            Labels analysis-core-2.0
            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 .
            drulli Ulli Hafner made changes -
            Link This issue relates to JENKINS-44450 [ JENKINS-44450 ]
            drulli Ulli Hafner made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 17274 ]
            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?

            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?
            drulli Ulli Hafner made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            drulli Ulli Hafner made changes -
            Epic Link JENKINS-49911 [ 188901 ]
            drulli Ulli Hafner made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            drulli Ulli Hafner made changes -
            Status Resolved [ 5 ] Fixed but Unreleased [ 10203 ]
            drulli Ulli Hafner added a comment -

            Released in 5.0.0-beta2.

            drulli Ulli Hafner added a comment - Released in 5.0.0-beta2.
            drulli Ulli Hafner made changes -
            Released As 5.0.0-beta2
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: