From ea413537772c7f584572fa7e81c36ce5ab3d3cd2 Mon Sep 17 00:00:00 2001 From: Riz Urian <98958099+rizjosel@users.noreply.github.com> Date: Sat, 27 Dec 2025 10:36:14 +0800 Subject: [PATCH] Update Jenkinsfile Signed-off-by: Riz Urian <98958099+rizjosel@users.noreply.github.com> --- Jenkinsfile | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3cd13b930..5e24c3de3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,22 +30,6 @@ pipeline { sh "docker build -t ${IMAGE_NAME} ." } } - - stage('Test Docker Image') { - steps { - // Run container for testing - sh "docker run -d --name ${APP_NAME}-test -p 8080:8080 ${IMAGE_NAME}" - - // Wait for app to start - sh "sleep 10" - - // Health check - if curl fails, this step will fail and stop the pipeline - sh "curl -f http://localhost:8080/actuator/health" - - // Stop and remove test container - sh "docker stop ${APP_NAME}-test && docker rm ${APP_NAME}-test" - } - } stage('Docker Push') { steps {