Added 12h timeout to all pipelines

Change-Id: I085fcbda322d0877d5ffebd002fc109577788c29
diff --git a/cvp-sanity.groovy b/cvp-sanity.groovy
index 53c044a..ed87cd6 100644
--- a/cvp-sanity.groovy
+++ b/cvp-sanity.groovy
@@ -15,24 +15,25 @@
 validate = new com.mirantis.mcp.Validate()
 
 def artifacts_dir = 'validation_artifacts/'
+timeout(time: 12, unit: 'HOURS') {
+    node() {
+        try{
+            stage('Initialization') {
+                validate.prepareVenv(SANITY_TESTS_REPO, PROXY)
+            }
 
-node() {
-    try{
-        stage('Initialization') {
-            validate.prepareVenv(SANITY_TESTS_REPO, PROXY)
+            stage('Run Infra tests') {
+                sh "mkdir -p ${artifacts_dir}"
+                validate.runSanityTests(SALT_MASTER_URL, SALT_MASTER_CREDENTIALS, SANITY_TESTS_SET, artifacts_dir)
+            }
+            stage ('Publish results') {
+                archiveArtifacts artifacts: "${artifacts_dir}/*"
+                junit "${artifacts_dir}/*.xml"
+            }
+        } catch (Throwable e) {
+            // If there was an error or exception thrown, the build failed
+            currentBuild.result = "FAILURE"
+            throw e
         }
-
-        stage('Run Infra tests') {
-            sh "mkdir -p ${artifacts_dir}"
-            validate.runSanityTests(SALT_MASTER_URL, SALT_MASTER_CREDENTIALS, SANITY_TESTS_SET, artifacts_dir)
-        }
-        stage ('Publish results') {
-            archiveArtifacts artifacts: "${artifacts_dir}/*"
-            junit "${artifacts_dir}/*.xml"
-        }
-    } catch (Throwable e) {
-        // If there was an error or exception thrown, the build failed
-        currentBuild.result = "FAILURE"
-        throw e
     }
 }