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

Make Warnings Plugin compatible with parallel Workflow

    XMLWordPrintable

Details

    • 5.0.0-beta2

    Description

      29959 made it compatible with a single build.
      But it doesn't yet work nicely for multiple parallel builds.

      If one puts the WarningsPublisher inside each parallel task, then the build page contains a link to the warning output once per task. But each link points to the same page and only contains the warnings of one task.

      If instead one runs the WarningsPublisher step only once after all all parallel tasks, then the links to the source code do not work (because the workspace path is different on the different node) and the list of warnings doesn't show for which task/node the warning occurred.

      Based on how other plugins (e.g. junit) work, I assume the first is how it should work. To it work, the warnings plugin should summarize the warnings before reporting them.

      To make the 2nd work it would need to parse the task label in the console output (to display the task) and resolve the workspace relative to the node of that task.

      Is anyone working on this? Any suggestions of how to get started on fixing this?

      Attachments

        Issue Links

          Activity

            rschulz Roland Schulz created issue -
            tmurtola Teemu Murtola made changes -
            Field Original Value New Value
            Labels workflow
            hrmpw Patrick Wolf made changes -
            Epic Link JENKINS-34657 [ 170293 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 165663 ] JNJira + In-Review [ 182075 ]
            abayer Andrew Bayer made changes -
            Labels workflow pipeline workflow
            abayer Andrew Bayer made changes -
            Labels pipeline workflow pipeline
            drulli Ulli Hafner made changes -
            Link This issue is related to JENKINS-38399 [ JENKINS-38399 ]
            drulli Ulli Hafner made changes -
            Link This issue is related to JENKINS-40164 [ JENKINS-40164 ]
            drulli Ulli Hafner made changes -
            Link This issue is related to JENKINS-37325 [ JENKINS-37325 ]
            drulli Ulli Hafner made changes -
            Epic Link JENKINS-34657 [ 170293 ]
            drulli Ulli Hafner made changes -
            Labels pipeline analysis-core-2.0
            drulli Ulli Hafner made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 17275 ]
            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 -
            Link This issue is blocking JENKINS-45774 [ JENKINS-45774 ]
            drulli Ulli Hafner made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            drulli Ulli Hafner made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            drulli Ulli Hafner made changes -
            Rank Ranked lower
            drulli Ulli Hafner made changes -
            Rank Ranked higher
            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
              rschulz Roland Schulz
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: