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

Locks and Latches plugin starts to work only after the checkout is done

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • All

      Locks works only after the checkout/update is done on the build machine. This is a problem when we want to build a few jobs on the same machine, one by one, all started in the same time by a parent build. After each job, the build machine is reverted to snapshot - this makes all other jobs to fail.
      Can locks be made to work before checkout?

      Thanks in advance!
      Anca

          [JENKINS-8126] Locks and Latches plugin starts to work only after the checkout is done

          Romain Seguy added a comment -

          Technically this is hard to implement: A lock is a BuildWrapper and build wrappers are invoked after the SCM checkout is performed, hence the issue.

          Romain Seguy added a comment - Technically this is hard to implement: A lock is a BuildWrapper and build wrappers are invoked after the SCM checkout is performed, hence the issue.

          Romain Seguy added a comment -

          Cf. http://jenkins-ci.org/javadoc/hudson/model/Build.html for the details regarding the processing of builds.

          Romain Seguy added a comment - Cf. http://jenkins-ci.org/javadoc/hudson/model/Build.html for the details regarding the processing of builds.

            rseguy Romain Seguy
            ancavpg ancavpg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: