X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fci-pipelines%2Fci_stage_3.groovy;h=1ef8ce5d996373b4f8bb9b2010f9173c66ee1e9c;hb=70167ff4b4a8915f378c886a1f255d62ef0acb5a;hp=e37cf200b7ae70c2457e08216c6bf5133f629fda;hpb=4c100eb1e1163d48c8c8d5ed7abc494f5a3d7986;p=osm%2Fdevops.git diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index e37cf200..1ef8ce5d 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -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 ) {