Local Build Script
[osm/devops.git] / jenkins / ci-pipelines / ci_stage_1.groovy
index 261e12f..8bc6ac5 100644 (file)
@@ -74,9 +74,9 @@ node("${params.NODE}") {
         {
             downstream_params.add(booleanParam(name: 'DO_ROBOT', value: params.DO_ROBOT))
         }
-        if ( params.ROBOT_TAG )
+        if ( params.ROBOT_TAG_NAME )
         {
-            downstream_params.add(booleanParam(name: 'ROBOT_TAG', value: params.ROBOT_TAG))
+            downstream_params.add(string(name: 'ROBOT_TAG_NAME', value: params.ROBOT_TAG_NAME))
         }
 
         if ( params.STAGE )
@@ -89,6 +89,8 @@ node("${params.NODE}") {
                 println("disabling stage_3 invocation")
                 return
             }
+            // in this case, since this is for daily jobs, the pass threshold for robot tests should be adapted
+            downstream_params.add(string(name: 'ROBOT_PASS_THRESHOLD', value: '99.0'))
         }
         // callout to stage_2.  This is a multi-branch pipeline.
         downstream_job_name = "${mdg}-${stage_name}/${GERRIT_BRANCH}"