Skip to content

Commit c194284

Browse files
author
Dassi Orleando
committed
Update spring jenkins module
1 parent 9eb7a54 commit c194284

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎spring-jenkins-pipeline/scripted-pipeline-unix-nonunix‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,8 @@ node {
7575
withEnv(['JENKINS_NODE_COOKIE=dontkill']) {
7676
if (isUnix()) {
7777
sh 'nohup ./mvnw spring-boot:run -Dserver.port=8989 &'
78-
sh "while ! httping -qc1 http://localhost:8989 ; do sleep 1 ; done"
79-
sh "curl http://localhost:8989"
8078
} else {
8179
bat 'start ./mvnw.cmd spring-boot:run -Dserver.port=8989'
82-
// Here we need to check(loop) if localhost:8989 is up
83-
// Once it's we continue de script
84-
bat "curl.exe http://localhost:8989"
8580
}
8681
}
8782
}

0 commit comments

Comments
 (0)