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

Naginator plugin causes archiving to hang if the build failed

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: