7
All checks were successful
LOCALNET-DEV/pipeline/head This commit looks good

This commit is contained in:
nevermoregb 2025-02-21 14:47:56 +09:00
parent ae994d6778
commit 1ffa52b726

8
Jenkinsfile vendored
View File

@ -25,9 +25,15 @@ pipeline {
ping -n 5 127.0.0.1 > nul
)
copy /Y build\\libs\\*-plain.war C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\webapps
echo "del"
del /F /Q C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\webapps\\*.war
ping -n 3 127.0.0.1 > nul
echo "copy"
copy /Y /B "build\\libs\\*-plain.war" "C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\webapps\\ROOT.war"
ping -n 5 127.0.0.1 > nul
echo "start"
cd C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin
call startup.bat
'''