commit | 1f08b0c0e6e5971ccf6b39044fb5aeacda8dae37 | [log] [tgz] |
---|---|---|
author | Dennis Dmitriev <ddmitriev@mirantis.com> | Mon May 27 17:03:53 2019 +0300 |
committer | Dennis Dmitriev <ddmitriev@mirantis.com> | Mon May 27 17:09:42 2019 +0300 |
tree | 0e7b3232323b5cdef1cbc382bd3b30044d06a3f2 | |
parent | 239db4e622542792a8206df7dc9e1bb3f20e847d [diff] [blame] |
Add timeouts to deployment and test jobs Change-Id: I00510aa2199baa5efdfbfa05d1ece4b9478e9a2a
diff --git a/jobs/pipelines/swarm-bootstrap-salt-cluster-devops.groovy b/jobs/pipelines/swarm-bootstrap-salt-cluster-devops.groovy index 86b5122..e689a40 100644 --- a/jobs/pipelines/swarm-bootstrap-salt-cluster-devops.groovy +++ b/jobs/pipelines/swarm-bootstrap-salt-cluster-devops.groovy
@@ -40,6 +40,7 @@ currentBuild.description = "${PARENT_NODE_NAME}:${ENV_NAME}" +timeout(time: 2, unit: 'HOURS') { node ("${PARENT_NODE_NAME}") { if (! fileExists("${PARENT_WORKSPACE}")) { error "'PARENT_WORKSPACE' contains path to non-existing directory ${PARENT_WORKSPACE} on the node '${PARENT_NODE_NAME}'." @@ -154,4 +155,5 @@ } } } -} \ No newline at end of file +} +} // timeout