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

locks-and-latches plugin should not lock the configurations in a matrix project

      using a lock two lock two projects, each a matrix, the plugin not only disallows concurrent building of the two projects, but also of their configurations.

      Say I have

      project A with axes x,y
      project B with axes x,y

      and A and B share one lock, that lock prevents A::x from building if A::y, B::x or B::y are building.
      Instead I'd like the lock to prevent building A::x when B::x or B::y is building.

      I guess this needs a new type of lock that works project based, not build based?

          [JENKINS-8094] locks-and-latches plugin should not lock the configurations in a matrix project

          Yeah a new type of lock is needed for this case... may not be the required support in core to handle this though

          Stephen Connolly added a comment - Yeah a new type of lock is needed for this case... may not be the required support in core to handle this though

          Mark Waite added a comment -

          The Hudson locks and latches plugin is not distributed by the Jenkins update center. It was proposed for deprecation in 2015 and has known blocking issues. It prevents the saving of Jenkins job configurations in Jenkins 2.277.1 and later.

          If someone adopted the plugin, updated it to work with Jenkins 2.277.1 and later, and released a new version, then this issue report could be reopened.

          Mark Waite added a comment - The Hudson locks and latches plugin is not distributed by the Jenkins update center. It was proposed for deprecation in 2015 and has known blocking issues. It prevents the saving of Jenkins job configurations in Jenkins 2.277.1 and later. If someone adopted the plugin, updated it to work with Jenkins 2.277.1 and later, and released a new version, then this issue report could be reopened.

            Unassigned Unassigned
            apostasia apostasia
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: