Fix ci_stage_1.groovy to take ROBOT_TAG_NAME as a string 79/10679/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 21 Apr 2021 11:48:04 +0000 (13:48 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 21 Apr 2021 11:50:41 +0000 (13:50 +0200)
This change will read the param ROBOT_TAG_NAME and add it as a string
param to be passed to downstream jobs, instead of a boolean param, as
it was wrongly doing.

Change-Id: I3b7042dc41cd9a270386c91fdbaa7987e23af655
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
jenkins/ci-pipelines/ci_stage_1.groovy

index 306b9fd..a4aca75 100644 (file)
@@ -76,7 +76,7 @@ node("${params.NODE}") {
         }
         if ( params.ROBOT_TAG_NAME )
         {
-            downstream_params.add(booleanParam(name: 'ROBOT_TAG_NAME', value: params.ROBOT_TAG_NAME))
+            downstream_params.add(string(name: 'ROBOT_TAG_NAME', value: params.ROBOT_TAG_NAME))
         }
 
         if ( params.STAGE )