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

Off-by-one in retry event log message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • Jenkins 2.249.2
      github-branch-source-plugin 2.8.2

      There is a off-by-one condition in the message that appears in the multibranch event log:

       

          Checking pull request #2742
      Waiting for GitHub to create a merge commit for pull request 2742.  Retrying 4 more times...
      Waiting for GitHub to create a merge commit for pull request 2742.  Retrying 3 more times...
      Waiting for GitHub to create a merge commit for pull request 2742.  Retrying 2 more times...
            ‘Jenkinsfile’ not found
          Does not meet criteria 

      It always stops at "Retrying 2 more times..."

      Either the condition is wrong or you should decrease the retry counter before printing this message. Code

       

       

            Unassigned Unassigned
            dschey Jürgen Wakunda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: