This commit is contained in:
parent
ae994d6778
commit
1ffa52b726
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -25,9 +25,15 @@ pipeline {
|
|||||||
ping -n 5 127.0.0.1 > nul
|
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
|
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
|
cd C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin
|
||||||
call startup.bat
|
call startup.bat
|
||||||
'''
|
'''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user