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

Naginator plugin causes archiving to hang if the build failed

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I've noticed a problem with the Naginator plugin and archiving.

      My jobs has two post-build actions, in the following order:
      (1) "Retry build after failure" (Naginator), with "Only rerun build if regular expression is found in output" selected.
      (2) "Archive the artifacts"

      If my build ends in failure (but the output does not match the naginator regex), then the job hangs. The console log shows:

      Build step 'Execute shell' marked build as failure
      Archiving artifacts
      

      And then it takes a LONG time before the job actually ends (or else it never ends at all).

      What is worse is that it you look at the web page for the job, the job shows as finished. However, if you look at main web page, the job shows as still running, and using an executor.

        Attachments

          Activity

            People

            Assignee:
            ndeloof Nicolas De Loof
            Reporter:
            mwebber Matthew Webber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: