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

Retry count resets when job with other parameters is successful

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: naginator-plugin
    • Labels:
      None
    • Environment:
      jenkins 1.510, naginator plugin v 1.8
    • Similar Issues:

      Description

      Create a parameterized job, append naginator plugin, set fix retry time to e.g. 2 minutes and retry count to 3. Then and add a short action which can fail the build depending on the parametervalue.

      1) Launch the job with a parametervalue which causes the job to fail.
      2) Wait until naginator has started the job again (1. retry)
      3) Wait until naginator has started the job again (2. retry)
      4) during the waiting time for the third retry, start the job with parametervalue for a successful build.
      5) Wait until naginator has started the first (failing) job again (3. retry)

      Expected:
      The first job which fails all the time will not be started again after the third retry.

      Actually:
      Seems the successful build in (4) was resetting the count of (3) because the failed job is rebuild two times again.

        Attachments

          Issue Links

            Activity

            zioschild Sven Appenrodt created issue -
            integer Kanstantsin Shautsou made changes -
            Field Original Value New Value
            Assignee Nicolas De Loof [ ndeloof ] ikedam [ ikedam ]
            ikedam ikedam made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ikedam ikedam made changes -
            Remote Link This issue links to "PR19 (Web Link)" [ 13140 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            ikedam ikedam made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 148806 ] JNJira + In-Review [ 206581 ]

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                zioschild Sven Appenrodt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: