Skip to content

Commit

Permalink
#9 Wait for job being created
Browse files Browse the repository at this point in the history
  • Loading branch information
nhinze23 committed Dec 5, 2023
1 parent db15820 commit 6157aa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ node('docker') {
}

stage('Wait for Ready Rollout') {
sleep(time: 10, unit: "SECONDS")
k3d.kubectl("--namespace default wait --for=condition=Completed pod -l batch.kubernetes.io/job-name=k8s-host-change --timeout 300s")
}
} catch(Exception e) {
Expand Down

0 comments on commit 6157aa6

Please sign in to comment.