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

Obtain parallel warnings results in pipeline

    XMLWordPrintable

Details

    • 5.0.0-beta2

    Description

      I currently use the warnings plugin in a pipeline build by simply calling the build step. Doing this sets the build result to unstable, so I was checking that during the pipeline to determine whether some extra steps to run.

      Specifically, I have a parallel build, which builds on multiple different configurations in parallel, and I want to rename the log file for each build to "unstable" only if that configuration got warnings. However, the build result is global for the whole pipeline. How can I obtain the number of warnings or the "result" of the warnings step in such a way that each parallel invocation can get its own results? This allows me to rename my logged files so that users who look at the final results can quickly determine which configurations were faulty?

      Attachments

        Issue Links

          Activity

            jekeller Jacob Keller created issue -
            drulli Ulli Hafner made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-38399 [ JENKINS-38399 ]
            drulli Ulli Hafner made changes -
            Link This issue is related to JENKINS-30551 [ JENKINS-30551 ]
            drulli Ulli Hafner made changes -
            Link This issue is related to JENKINS-37325 [ JENKINS-37325 ]
            drulli Ulli Hafner made changes -
            Summary warnings pipeline parallel obtian "results" Obtain parallel warnings results in pipeline
            drulli Ulli Hafner made changes -
            Labels analysis-core-2.0
            drulli Ulli Hafner made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 17268 ]
            drulli Ulli Hafner made changes -
            Epic Link JENKINS-49911 [ 188901 ]
            drulli Ulli Hafner made changes -
            Component/s analysis-core-plugin [ 15709 ]
            drulli Ulli Hafner made changes -
            Link This issue depends on JENKINS-49938 [ JENKINS-49938 ]
            drulli Ulli Hafner made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            drulli Ulli Hafner made changes -
            Status Resolved [ 5 ] Fixed but Unreleased [ 10203 ]
            drulli Ulli Hafner made changes -
            Released As 5.0.0-beta2
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]

            People

              drulli Ulli Hafner
              jekeller Jacob Keller
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: