From eec0152edca8c05b821f861ea625bbc1c50548fc Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Sat, 22 Feb 2025 00:32:22 +0900 Subject: [PATCH 1/9] 17 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 08400dd..3f999d5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { gradle 'gradle8' } - stages { + stages { stage('Clean & Build') { steps { bat './gradlew clean build -x test' @@ -31,7 +31,7 @@ pipeline { 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" + copy /Y /B "%WORKSPACE%\\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" From 04a1d8e320e2d1f2bab6f74e3798046108bbc9e2 Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Sat, 22 Feb 2025 00:38:03 +0900 Subject: [PATCH 2/9] 77 --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3f999d5..ef18a61 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,7 +35,8 @@ pipeline { ping -n 5 127.0.0.1 > nul echo "start" - start cmd.exe /k "cd C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin && catalina.bat run" + cd /d C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin + start "Tomcat" /min cmd /c "catalina.bat run" ''' } } From 7045bfa2700d09dc8cc63417f50b3b9d2849d779 Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Sat, 22 Feb 2025 00:42:08 +0900 Subject: [PATCH 3/9] 81 --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index ef18a61..2e0022e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,6 +37,7 @@ pipeline { echo "start" cd /d C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin start "Tomcat" /min cmd /c "catalina.bat run" + timeout /t 30 ''' } } From e8a0350ac8cffbb1a63b27867747f81adb767d4b Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Sat, 22 Feb 2025 00:43:53 +0900 Subject: [PATCH 4/9] 99 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2e0022e..412d1a9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,7 @@ pipeline { echo "start" cd /d C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin start "Tomcat" /min cmd /c "catalina.bat run" - timeout /t 30 + ping -n 10 127.0.0.1 > nul ''' } } From dd16a29f7752af2a2dc10a6c8a14eb3fa343e23d Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Sat, 22 Feb 2025 00:47:15 +0900 Subject: [PATCH 5/9] 0 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 412d1a9..1c30e0a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,7 +36,7 @@ pipeline { echo "start" cd /d C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin - start "Tomcat" /min cmd /c "catalina.bat run" + start catalina.bat run ping -n 10 127.0.0.1 > nul ''' } From ff1f585e45061685aad06e06c43b7fdde5676713 Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Sat, 22 Feb 2025 00:49:26 +0900 Subject: [PATCH 6/9] 1 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1c30e0a..2c617b0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,7 +36,7 @@ pipeline { echo "start" cd /d C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin - start catalina.bat run + call startup.bat ping -n 10 127.0.0.1 > nul ''' } From 4b5e28684a92042870483a9fbafecb0575bf5d27 Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Mon, 24 Feb 2025 09:23:44 +0900 Subject: [PATCH 7/9] =?UTF-8?q?=EC=A0=A0=ED=82=A8=EC=8A=A4=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=20=ED=8C=8C=EC=9D=B4=ED=94=84=EB=9D=BC=EC=9D=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2c617b0..966e608 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,8 +36,8 @@ pipeline { echo "start" cd /d C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin - call startup.bat - ping -n 10 127.0.0.1 > nul + BUILD_ID=dontKillMe call startup.bat + ping -n 5 127.0.0.1 > nul ''' } } From 5832d18885562d0338fa05fed9983426815c6639 Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Mon, 24 Feb 2025 09:27:18 +0900 Subject: [PATCH 8/9] =?UTF-8?q?=ED=8C=8C=EC=9D=B4=ED=94=84=EB=9D=BC?= =?UTF-8?q?=EC=9D=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 966e608..dc74b38 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,7 +36,8 @@ pipeline { echo "start" cd /d C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin - BUILD_ID=dontKillMe call startup.bat + set BUILD_ID=dontKillMe + call startup.bat ping -n 5 127.0.0.1 > nul ''' } From ae1332d7a6b4d81bee169577015418382af64bdf Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Mon, 24 Feb 2025 09:45:48 +0900 Subject: [PATCH 9/9] . --- Jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index dc74b38..a5891cf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,9 +36,8 @@ pipeline { echo "start" cd /d C:\\localhost-tomcat\\apache-tomcat-10.1.36-windows-x64\\apache-tomcat-10.1.36\\bin - set BUILD_ID=dontKillMe - call startup.bat - ping -n 5 127.0.0.1 > nul + call startup.bat + ping -n 5 127.0.0.1 > nul ''' } }