Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
Extending wait for service to pop
  • Loading branch information
davidaustinarcher committed Sep 12, 2022
1 parent fd18456 commit 45b6193
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pipeline {
steps {
script {
waitUntil {
def r = sh returnStatus: true, script: "FQDN=\$(terraform output fqdn); wget --retry-connrefused --tries=120 --waitretry=1 -q \$FQDN -O /dev/null"
def r = sh returnStatus: true, script: "FQDN=\$(terraform output fqdn); wget --retry-connrefused --tries=300 --waitretry=1 -q \$FQDN -O /dev/null"
return (r == 0);
}
}
Expand Down Expand Up @@ -111,7 +111,7 @@ pipeline {
steps {
script {
waitUntil {
def r = sh returnStatus: true, script: "FQDN=\$(terraform output fqdn); wget --retry-connrefused --tries=120 --waitretry=1 -q \$FQDN -O /dev/null"
def r = sh returnStatus: true, script: "FQDN=\$(terraform output fqdn); wget --retry-connrefused --tries=300 --waitretry=1 -q \$FQDN -O /dev/null"
return (r == 0);
}
catchError(buildResult: 'SUCCESS', stageResult: 'ABORTED') {
Expand Down Expand Up @@ -151,7 +151,7 @@ pipeline {
steps {
script {
waitUntil {
def r = sh returnStatus: true, script: "FQDN=\$(terraform output fqdn); wget --retry-connrefused --tries=120 --waitretry=1 -q \$FQDN -O /dev/null"
def r = sh returnStatus: true, script: "FQDN=\$(terraform output fqdn); wget --retry-connrefused --tries=300 --waitretry=1 -q \$FQDN -O /dev/null"
return (r == 0);
}
catchError(buildResult: 'SUCCESS', stageResult: 'ABORTED') {
Expand Down

0 comments on commit 45b6193

Please sign in to comment.