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

locks and latches plugin check with user defined code

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • Platform: All, OS: All

      Enhancement that allows you to execute arbitrary code *before the job is put on
      an executor* and periodically by specified interval. If exit code is non-zero
      then don't put on an executor. If zero, then execute.

      You don't rely on simple locks but you can check for example there is enough
      time before database maintenance window or something like that.

      I think most flexible would be to allow for execution of arbitrary available
      task in hudson. Though most useful will be a groovy script executed on the
      master system. That will allow for one to check hudson state in any possibly
      needed way, as well execute external command if needed.

          [JENKINS-2292] locks and latches plugin check with user defined code

          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
            akostadinov akostadinov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: