• Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • build-timeout-plugin
    • None
    • Jenkins, using a pre-build lock sharing plugin such as

      This plugin is useful, but we often have situations when the plugin times out well before a job has actually been running for the period set.

      We use the "Locks and Latches" plugin, and sometimes a lock cause the build to have to wait for a while.

      What would be really nice is if the timeout countdown didn't start until the job actually obtained the lock it was waiting for.

          [JENKINS-14252] Ignore time spent waiting for locks

          ikedam added a comment -

          Try use Throttle Concurrent Builds Plugin.
          That makes jobs waiting in the queue, and build-timeout does not start till builds really start.

          ikedam added a comment - Try use Throttle Concurrent Builds Plugin . That makes jobs waiting in the queue, and build-timeout does not start till builds really start.

          ikedam added a comment -

          There's no way to help this as the design of Jenkins.
          The only way to avoid this is to use Throttle Concurrent Builds Plugin instead of Locks and Latches plugin.

          ikedam added a comment - There's no way to help this as the design of Jenkins. The only way to avoid this is to use Throttle Concurrent Builds Plugin instead of Locks and Latches plugin.

            kohsuke Kohsuke Kawaguchi
            dankirkd Daniel Kirkdorffer
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: