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

Consider waiting for lock in "timings" and build status overview?

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • The latest and greatest: Jenkins Core 2.144, Lockable Resources Plugin 2.3

      When looking over build history or old builds I saw build durations of e.g. 21min, although I know it typically lasts about 6 to 12min. It turned out that there was a ~8min waiting period for a resource lock...

      The classic UI's "Stage View" actually shows this waiting in small:

      However I was wondering if this should be also reflected here:

      Log snippet:

      ...
      [Pipeline] lock
      10:00:30 Trying to acquire lock on [Label: PhpStorm, Quantity: 1]
      10:00:30 Found 0 available resource(s). Waiting for correct amount: 1.
      10:00:30 [Label: PhpStorm, Quantity: 1] is locked, waiting...
      10:08:31 Lock acquired on [Label: PhpStorm, Quantity: 1]
      [Pipeline] {
      ... 

            Unassigned Unassigned
            reinholdfuereder Reinhold Füreder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: