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

push --force loses build statuses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ghprb-plugin
    • None

      I force-pushed to my branch for which I had an open pull request. The plugin didn't pick up my change. When I asked `retest this please`, the build was triggered but no status was added to my commits. It looks like the old shas were used.

      Here's the parameters I got:

      sha1:origin/pr/464/merge
      ghprbActualCommit: 285f72ae5b7b6c9460ccb6fc922789dba4cef2ad
      ghprbPullId: 464
      ghprbTargetBranch: master
      

      The actual commit is the previous one (before my push --force). As a result, the pull request (and all its commits) has no build status.

            Unassigned Unassigned
            idragos Iulian Dragos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: