Auto push git tag

CALL "C:\Program Files\TortoiseGit\bin\pageant.exe" "d:\CKey.ppk" set GIT_SSH=C:\Program Files\TortoiseGit\bin\TortoisePLink.exe

call "C:\Program Files (x86)\Git\bin\git.exe" tag "%VersionNumber%.%Build_Number%" -m "%VersionNumber%.%Build_Number%"

call "C:\Program Files (x86)\Git\bin\git.exe"  push [email protected]:Accela-Inc/Role-based-UI.git "%VersionNumber%.%Build_Number%"

 

start parameter

 

在启动Jenkins的时候直接通过Java选项来关闭Jenkins杀掉所有衍生进程的这个功能:

  1. java -Dhudson.util.ProcessTree.disable=true -jar jenkins.war  

http://scmbob.org/start-process-in-jenkins.html

你可能感兴趣的:(push)