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

Provide option for -f / force in "git push" (after tagging)

    Details

    • Similar Issues:

      Description

      If the "create tag" & "update new tag" options are checked, git should push the created/updated with -f / force, otherwise the (central) git repository would reject the updated tag and the build fails.

      i don't know if this is already achievable with some update hook hacking (delete tag on tag-push?)

        Attachments

          Issue Links

            Activity

            Hide
            markewaite Mark Waite added a comment -

            Are the changes included in git plugin 2.2.6 sufficient to meet this case as well? The git publisher now takes an optional setting to force push.

            Show
            markewaite Mark Waite added a comment - Are the changes included in git plugin 2.2.6 sufficient to meet this case as well? The git publisher now takes an optional setting to force push.
            Hide
            markewaite Mark Waite added a comment -

            As far as I can tell, this now works if the "Force" checkbox is selected in the git publisher (as of git plugin 2.2.6).

            Show
            markewaite Mark Waite added a comment - As far as I can tell, this now works if the "Force" checkbox is selected in the git publisher (as of git plugin 2.2.6).

              People

              • Assignee:
                markewaite Mark Waite
                Reporter:
                smb Steffen Buehl
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: