본문 바로가기

Build&Deployment&CI/Jenkins

[Jenkins] 윈도우 Excute shell 샘플

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