Build&Deployment&CI/Jenkins
[Jenkins] 윈도우 Excute shell 샘플
1125521101
2017. 8. 30. 08:38
sc stop ApacheTomcat-XXX
choice /t 1 /d n > NUL
choice /t 5 /d n > NUL
del D:\Project\server\XXX\webapps\ROOT.war
rmdir D:\Project\server\XXX\webapps\ROOT /S /Q
choice /t 1 /d n > NUL
move target\ROOT.war D:\Project\server\XXX\webapps
choice /t 1 /d n > NUL
sc start ApacheTomcat-XXX