Skip to content

Commit

Permalink
#9 Fix wait command.
Browse files Browse the repository at this point in the history
  • Loading branch information
nhinze23 committed Dec 5, 2023
1 parent 6157aa6 commit de9af1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,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")
k3d.kubectl("--namespace default wait --for=condition=complete job -l app.kubernetes.io/name=k8s-host-change --timeout 300s")
}
} catch(Exception e) {
k3d.collectAndArchiveLogs()
Expand Down

0 comments on commit de9af1e

Please sign in to comment.