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

Allow exclusive execution plugin skip wait for end of execution of jobs

    Details

    • Similar Issues:

      Description

      There are situations when executing build phase of a job marked with exclusive execution should not wait till all currently running jobs have finished.

      E.g. imagine you have a planned backup of your SCM server. You have typical tasks that download projects from SCM and compile them and run tests. Execution of these jobs can take very long but it is unlikely they fail once they have started (SCM is queried on start). If you want to avoid any other job to start running if SCM backup process starts you can schedule a dummy job marked with exclusive execution that simply waits till SCM server is back online in its build phase.

      The problem with the scenario described is that if currently running jobs take very long to complete, actual check on SCM status will not be performed until such long execution has finished. It could happen that those long-running tasks finish way after SCM server is back online, so Jenkins execution time is wasted (no jobs are run due to dummy job still in pre-build phase).

      For these an other reasons IMHO it would be great if waiting for running jobs, when enabling exclusive execution, could be skipped by configuration.

        Attachments

          Issue Links

            Activity

            fmiguelez Fernando Miguelez created issue -
            fmiguelez Fernando Miguelez made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-9919 [ JENKINS-9919 ]
            fmiguelez Fernando Miguelez made changes -
            Assignee Marco Ambu [ mambu ] Fernando Miguelez [ fmiguelez ]
            fmiguelez Fernando Miguelez made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 160166 ] JNJira + In-Review [ 196347 ]

              People

              • Assignee:
                fmiguelez Fernando Miguelez
                Reporter:
                fmiguelez Fernando Miguelez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: