Status: Closed (View Workflow)
Resolution: Won't Do
Since a job can have test failures (for several reasons) and is marked as UNSTABLE it should be possible to push tag while it shouldn't if the build fails.
Right now it's only possible to set "pushOnlyIfSuccess" to true/false and therfore tags are pushed if the job fails which is not useful.
It would help, if the option can have options like this:
- UNSTABLE or better
- ("Push anyway" (also if Jobs fails))
I don't plan to extend the capabilities of the git publisher in the git plugin. The withCredentials Pipeline step addition for the git plugin will allow Pipeline users to perform authenticated calls to git from sh, bat, and powershell. They can use those facilities to push changes to the remote git repository.