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

Interval calculation skewed by multiple builds of same job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • naginator-plugin
    • naginator-1.18

      When running two builds simultaneously of any project configured with Naginator, the interval calculation becomes skewed.  Note - these where scheduled with the Schedule build plugin.  

      Here is the chronology of a recent set of two builds with their Naginator retries, using 5 minutes progressive delay, 30 minute max 

      ------------------------------------------------------------------------

      Build A - Initial Build

      Build A - 5 minutes later

      Build B - Initial Build

      Build A - 15 minutes after previous retry

      Build B - 5 minutes later

      Build A - 15 minutes after previous retry

      Build B - 30 minutes after previous retry

      Build A - 30 minutes after previous retry

       

      Please note the retry interval acts as expected if I run just one build of the project.

      To reproduce:  Set up Project "A", a freestyle project, using the naginator plugin and make use of the progressive capabilities.   See attached.   Schedule two different builds at slightly different, but overlapping times using the Schedule Build plugin.  Be sure to fail the build to get retries.

       

            spenceryost Spencer Yost
            spenceryost Spencer Yost
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: