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

Commits since last build is wrong when last build commit no longer exists

      The "Commits since last build" shows 200 when it can not determine the commits since last build.

      Steps to reproduce:

      1. Push new branch with 1 commit
      2. Amend commit (replace commit) and force-push

      Instead of nothing or unable to determine, it shows 200 - which is wrong.

      • Commits since last build: 200

          [JENKINS-67281] Commits since last build is wrong when last build commit no longer exists

          Jan Klass created issue -
          Jan Klass made changes -
          Component/s New: git-plugin [ 15543 ]
          Component/s Original: git-forensics-plugin [ 25321 ]
          Jan Klass made changes -
          Description Original: The "Commits since last build" seems to show 2 * max-commits-to-evaluate value when it can not determine the commits since last build.

          Steps to reproduce:
           # Push new branch with 1 commit
           # Amend commit (replace commit) and force-push

          Instead of nothing or unable to determine, it shows 200 - which is wrong.
           *
          {quote}Commits since last build: 200{quote}
          New: The "Commits since last build" shows 200 when it can not determine the commits since last build.

          Steps to reproduce:
           # Push new branch with 1 commit
           # Amend commit (replace commit) and force-push

          Instead of nothing or unable to determine, it shows 200 - which is wrong.
           *
          {quote}Commits since last build: 200
          {quote}
          Ulli Hafner made changes -
          Component/s New: git-forensics-plugin [ 25321 ]
          Component/s Original: git-plugin [ 15543 ]
          Ulli Hafner made changes -
          Attachment New: Direkt_Depot_8013202984_Abrechnung_Kauf_IE00B8FHGS14_Order_157822027_001_20200204.pdf [ 56889 ]
          Ulli Hafner made changes -
          Attachment Original: Direkt_Depot_8013202984_Abrechnung_Kauf_IE00B8FHGS14_Order_157822027_001_20200204.pdf [ 56889 ]
          Ulli Hafner made changes -
          Attachment New: Bildschirmfoto 2021-12-02 um 16.43.44.png [ 56890 ]
          Ulli Hafner made changes -
          Labels New: help-wanted newbie-friendly
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ]
          Ulli Hafner made changes -
          Labels Original: help-wanted newbie-friendly New: hacktoberfest help-wanted newbie-friendly

            Unassigned Unassigned
            jk Jan Klass
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: