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
'Build&Deployment&CI > Jenkins' 카테고리의 다른 글
[Jenkins] 윈도우 배치 파일(Windows batch command) 샘플 (0) | 2017.09.06 |
---|