Label + Quantity is sometimes not honored

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Several times now, I have seen the instance where a single job is taking up all of the locks with the specified label while the quantity is set to 1. The pipeline code is as follows:

      {{
      // Pipeline Details
      def pipelineName = "pr-pipeline"
      def lockLabel = "pr-pipeline"
      def lockQuantity = 1

      // Pipeline
      lock(label: lockLabel, quantity: lockQuantity)

      { ... the code ... }}

      The attached picture is a single job taking up all of the resources with the label. I'm not sure how this situation arises,

            Assignee:
            Unassigned
            Reporter:
            Joe Carlyon
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: