Add timeout for cvp-shaker job
Change-Id: I7e0d4ceefc01a3bcfa95fb2d3a233afd8f1b8575
Related-bug: PROD-30559 (PROD:30559)
diff --git a/cvp-shaker.groovy b/cvp-shaker.groovy
index 08f9315..1f04bc1 100644
--- a/cvp-shaker.groovy
+++ b/cvp-shaker.groovy
@@ -154,9 +154,11 @@
}
stage('Run Shaker tests') {
- if (! salt_testing.setupDockerAndTest(configRun)) {
- common.warningMsg('Docker contrainer failed to run Shaker')
- currentBuild.result = 'FAILURE'
+ timeout(time: 10, unit: 'HOURS') {
+ if (! salt_testing.setupDockerAndTest(configRun)) {
+ common.warningMsg('Docker contrainer failed to run Shaker')
+ currentBuild.result = 'FAILURE'
+ }
}
}