Temp workaround for 502 error for jenkins systest
[osm/devops.git] / jenkins / ci-pipelines / ci_stage_3.groovy
index e37cf20..1ef8ce5 100644 (file)
@@ -49,7 +49,7 @@ properties([
         booleanParam(defaultValue: true, description: '', name: 'DO_DOCKERPUSH'),
         booleanParam(defaultValue: false, description: '', name: 'SAVE_ARTIFACTS_OVERRIDE'),
         string(defaultValue: '/home/jenkins/hive/openstack-etsi.rc', description: '', name: 'HIVE_VIM_1'),
-        booleanParam(defaultValue: true, description: '', name: 'DO_ROBOT'),
+        booleanParam(defaultValue: false, description: '', name: 'DO_ROBOT'),
         string(defaultValue: 'sanity', description: 'smoke/vim/sanity/comprehensive are the options', name: 'TEST_NAME'),
         string(defaultValue: '/home/jenkins/hive/robot-systest.cfg', description: '', name: 'ROBOT_VIM'),
     ])
@@ -317,11 +317,11 @@ node("${params.NODE}") {
                     if ( ! currentBuild.result.equals('UNSTABLE') && ! currentBuild.result.equals('FAILURE')) {
                         stage_archive = keep_artifacts
                     } else {
-                        println ("Systest test failed, throwing error")
-                        error = new Exception("Systest test failed")
-                        currentBuild.result = 'FAILURE'
-                        throw error
-                    }
+                       println ("Systest test failed, throwing error")
+                                          error = new Exception("Systest test failed")
+                                          currentBuild.result = 'FAILURE'
+                                          throw error
+                                       }
                 }
             }
 
@@ -347,7 +347,7 @@ node("${params.NODE}") {
             error = ex
             currentBuild.result = 'FAILURE'
             println("Caught error")
-            println(ex.getMessage());
+            println(ex.getMessage())
         }
         finally {
             if ( params.DO_INSTALL ) {