Alec Koumjian created JENKINS-13833:
---------------------------------------

             Summary: Git Publisher should allow ForceTag instead of CreateTag 
                 Key: JENKINS-13833
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13833
             Project: Jenkins
          Issue Type: Improvement
          Components: git
    Affects Versions: current
            Reporter: Alec Koumjian
            Assignee: Nicolas De Loof


There is a common development pattern that is not currently possible with the 
git plugin (as far as I can tell). I want to be able to tag a recently passed 
commit (with an already existing tag) and push that back to the origin 
repository. 

So the idea being that currently my git history looks like this:

40f7af3 2012-05-17 | new commit
2738f9f 2012-05-17 | previous commit (passed)
fbafd82 2012-05-17 | older commit

When 40f7af3 gets pushed and tested, if it passes it should now get the 
`passed` tag.

40f7af3 2012-05-17 | new commit (passed)
2738f9f 2012-05-17 | previous commit
fbafd82 2012-05-17 | older commit

If we replace CreateTag with a ForceTag checkbox, this behavior will now be 
possible, as will all of the previous options with createtag.

In code, all the checkbox would have to do is enable the `-f` flag while 
performing the git tag command. (This is already built into the API).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to