From 3d8144eb0f889ab56d36f8b25cb357a3d5137817 Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Fri, 21 Feb 2025 14:17:58 +0900 Subject: [PATCH] 4 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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