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

Unreserve resource should make resource available to running jobs like unlock step does.

      If we `unreserve` some resource from webui, the resource does not appear as available to jobs already waiting for resource with label that matches this resources label.

      I would expect that `unreserve` should have the same behavior as unlock step, thus unreserving a resource should allow jobs waiting on this resource to acquire normally.

          [JENKINS-46745] Unreserve resource should make resource available to running jobs like unlock step does.

          Experiencing this, with the 2.0 version.
          I think this is rather a bug fix than a new feature.
          The thread of the running build appears to be stuck on the lock:

          Thread #90
          	at DSL.lock(Native Method)
          	at WorkflowScript.run(WorkflowScript:28)
          	at DSL.stage(Native Method)
          	...
          

          Giorgio Sironi added a comment - Experiencing this, with the 2.0 version. I think this is rather a bug fix than a new feature. The thread of the running build appears to be stuck on the lock : Thread #90 at DSL.lock(Native Method) at WorkflowScript.run(WorkflowScript:28) at DSL.stage(Native Method) ...

          Giorgio Sironi added a comment - Duplicate of https://issues.jenkins-ci.org/browse/JENKINS-34433

            Unassigned Unassigned
            kkoukiou Katerina Koukiou
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: