fix retry on Jenkins smoke tests

This commit is contained in:
2020-11-24 07:47:51 -05:00
parent aa82f64269
commit 9fb5bc8237

View File

@@ -26,12 +26,11 @@ node('docker') {
} }
stage('smoke tests') { stage('smoke tests') {
options {
retry(5)
}
dir(workdir) { dir(workdir) {
sleep 30 retry(5) {
sh "curl -If http://dkhost:8080/metrics/ejkxeVI-iKLy968ji9AnfYmOHGIh1kYd3gA500JqrRxzTeenT06ynR5Dqo0CQplO/healthcheck" sleep 30
sh "curl -If http://dkhost:8080/metrics/ejkxeVI-iKLy968ji9AnfYmOHGIh1kYd3gA500JqrRxzTeenT06ynR5Dqo0CQplO/healthcheck"
}
} }
} }
} }