diff --git a/Jenkinsfile b/Jenkinsfile index 16092cd..ee6099d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,11 +22,11 @@ pipeline { echo "Tomcat is running, shutting down..." cd C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin call shutdown.bat - timeout /t 5 /nobreak + 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\\ROOT.war - timeout /t 5 /nobreak + ping -n 5 127.0.0.1 > nul cd C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin call startup.bat