[JIRA] (JENKINS-60564) Optionally allow rebase before push from Git publisher

5 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 20, 2019, 4:31:04 PM12/20/19
to jenkinsc...@googlegroups.com
Mark Waite created an issue
 
Jenkins / Bug JENKINS-60564
Optionally allow rebase before push from Git publisher
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2019-12-20 21:30
Labels: git
Priority: Minor Minor
Reporter: Mark Waite

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 20, 2019, 7:37:02 PM12/20/19
to jenkinsc...@googlegroups.com
Mark Waite updated Bug JENKINS-60564
 

Merged to master branch Dec 20, 2019. Planned for inclusion in git plugin 4.1 to be released by Dec 31, 2019.

Change By: Mark Waite
Status: Open Fixed but Unreleased
Resolution: Fixed

mark.earl.waite@gmail.com (JIRA)

unread,
Jan 18, 2020, 1:46:04 PM1/18/20
to jenkinsc...@googlegroups.com
 

Fixed in git plugin 4.1.0, released Jan 18, 2020.

Change By: Mark Waite
Status: Fixed but Unreleased Closed
Released As: git plugin 4.1.0
Reply all
Reply to author
Forward
0 new messages