|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

I have the same issue:
Reproduce:
Add git repos
Check 'merge before build'
Check 'skip internal tag'
Add 'Git Publisher' as postbuild step
Check 'Push Only If Build Succeeds'
Check 'Merge Results'
Run build
--> Error
ERROR: Failed to push merge to origin repository
[8mha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA= [0mhudson.plugins.git.GitException: Could not delete tag jenkins-test0-1
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.deleteTag(CliGitAPIImpl.java:901)
at hudson.plugins.git.GitAPI.deleteTag(GitAPI.java:212)
at hudson.plugins.git.GitPublisher$2.invoke(GitPublisher.java:237)
at hudson.plugins.git.GitPublisher$2.invoke(GitPublisher.java:223)
at hudson.FilePath.act(FilePath.java:839)
at hudson.FilePath.act(FilePath.java:821)
at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:223)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685)
at hudson.model.Build$RunnerImpl.post2(Build.java:162)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632)
at hudson.model.Run.run(Run.java:1463)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:239)
Caused by: hudson.plugins.git.GitException: Command "git tag -d jenkins-test0-1" returned status code 1:
stdout:
stderr: error: tag 'jenkins-test0-1' not found.
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:774)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:740)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:750)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.deleteTag(CliGitAPIImpl.java:899)
... 15 more
Pushing HEAD to branch integration at repo origin
Build step 'Git Publisher' changed build result to FAILURE
Build step 'Git Publisher' marked build as failure
Finished: FAILURE