Optionally allow rebase before push from Git publisher

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Assume during our build someone else pushed unrelated changes (commitFile1) to the remote repo. So our own changes committed during the build (commitFile2) cannot be pushed back to the remote origin.

      * 0eb2599 (HEAD) changed commitFile2
      | * 64e71e7 (origin/master) changed commitFile1
      |/
      * b2578eb init
      

      To resolve this we can fetch the remote changes and rebase our own changes just before the push of the branches.

      * 0e7674c (HEAD) changed commitFile2
      * 64e71e7 (origin/master) changed commitFile1
      * b2578eb init
      

      Provide a checkbox that will allow "Rebase before push" as an option in the "Branches to push to remote repositories". When enabled we try to rebase before the actual push.

            Assignee:
            Mark Waite
            Reporter:
            Mark Waite
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: