Update stage1 and stage3 to run robot tests with tag
[osm/devops.git] / jenkins / ci-pipelines / ci_stage_3.groovy
index d42c6dd..a62b8c9 100644 (file)
@@ -41,7 +41,7 @@ properties([
         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'),
-        string(defaultValue: 'sanity', description: 'sanity/regression/daily are the common options', name: 'ROBOT_TAG'),
+        string(defaultValue: 'sanity', description: 'sanity/regression/daily are the common options', name: 'ROBOT_TAG_NAME'),
         string(defaultValue: '/home/jenkins/hive/robot-systest.cfg', description: '', name: 'ROBOT_VIM'),
         string(defaultValue: '/home/jenkins/hive/kubeconfig.yaml', description: '', name: 'KUBECONFIG'),
         string(defaultValue: '/home/jenkins/hive/clouds.yaml', description: '', name: 'CLOUDS'),
@@ -482,7 +482,6 @@ node("${params.NODE}") {
                         /usr/share/osm-devops/installers/osm_health.sh -k -s ${stackName}
                     """
                 } // stage("OSM Health")
-            }
             } // if ( params.DO_INSTALL )
 
 
@@ -511,7 +510,7 @@ EOF"""
 
                         run_robot_systest(
                             container_name,
-                            params.ROBOT_TAG,
+                            params.ROBOT_TAG_NAME,
                             osmHostname,
                             prometheusHostname,
                             prometheusPort,