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

A stage with concurrency: 0 creates a zombie workflow.

    Details

    • Similar Issues:

      Description

      Steps to reproduce :
      Create a workflow.
      Add a stage with a concurrency of 0.

      Expected :

      • Either the concurrency value is rejected on saving,
      • Or the stage actually has no concurrency constraints (this what I expected when I hit this).

      Actual :
      The workflow is blocked with the message "Waiting for builds []".
      When it reaches this point, the workflow cannot be aborted, ever.
      The log states "Aborted by whoever" each time someone tries to abort the build, but the workflow is still blocked.
      It is still blocked even after a Jenkins restart.

        Attachments

          Issue Links

            Activity

            Hide
            abayer Andrew Bayer added a comment -

            Yeah, concurrency is deprecated/dead, so closing as won't fix.

            Show
            abayer Andrew Bayer added a comment - Yeah, concurrency is deprecated/dead, so closing as won't fix.
            Hide
            jglick Jesse Glick added a comment -

            Probably will not fix, as we plan to deprecate concurrency-related features of stage.

            Show
            jglick Jesse Glick added a comment - Probably will not fix, as we plan to deprecate concurrency-related features of stage .
            Hide
            rpocase Robby Pocase added a comment -

            You will need to abort the bad build before running doDelete. Otherwise, the bad build will get stuck in a running state and cannot be removed.

            Show
            rpocase Robby Pocase added a comment - You will need to abort the bad build before running doDelete. Otherwise, the bad build will get stuck in a running state and cannot be removed.
            Hide
            jglick Jesse Glick added a comment -

            JENKINS-25550 describes how to delete the bad build as a workaround.

            Show
            jglick Jesse Glick added a comment - JENKINS-25550 describes how to delete the bad build as a workaround.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jblanchard Jean Blanchard
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: