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

Locks-and-latches plugin fails to lock jobs from the queue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      Under certain conditions, the Locks-and-latches plugin does not prevent jobs
      from running simultaneously.

      I have 2 jobs (A and B) configured to aquire the same lock.

      • "Build now" job A, it starts to run
      • "Build now" job B, it remains in the queue
      • "Build now" job A again while the previously scheduled build is is still running
        ---> in the queue: A and B
      • the first build of A finishes
        --> both builds from the queue start simultaneously!

      Expected: one job from the queue wins and is built first.

      Maybe related to bug 2083

            Unassigned Unassigned
            gradopado gradopado
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: