From c194284dddd5f79bd444b03e986a43aabe6d93f1 Mon Sep 17 00:00:00 2001 From: Dassi Orleando Date: Wed, 13 Dec 2017 04:59:11 +0100 Subject: [PATCH] Update spring jenkins module --- spring-jenkins-pipeline/scripted-pipeline-unix-nonunix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spring-jenkins-pipeline/scripted-pipeline-unix-nonunix b/spring-jenkins-pipeline/scripted-pipeline-unix-nonunix index 861c38c8a2..6b775b6e56 100644 --- a/spring-jenkins-pipeline/scripted-pipeline-unix-nonunix +++ b/spring-jenkins-pipeline/scripted-pipeline-unix-nonunix @@ -75,13 +75,8 @@ node { withEnv(['JENKINS_NODE_COOKIE=dontkill']) { if (isUnix()) { sh 'nohup ./mvnw spring-boot:run -Dserver.port=8989 &' - sh "while ! httping -qc1 http://localhost:8989 ; do sleep 1 ; done" - sh "curl http://localhost:8989" } else { bat 'start ./mvnw.cmd spring-boot:run -Dserver.port=8989' - // Here we need to check(loop) if localhost:8989 is up - // Once it's we continue de script - bat "curl.exe http://localhost:8989" } } }