-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 2.138.2
BM plugin 2.0.2
I have job in declarative script and in the create package I need to pass some variables and values but I cannot use Token variables here or at least I have been unable to find a way to use them.
I've tried property=${varname} , property =$varname , property = "${varname}" and property = varname but the values are just never replaced with the values of the variables.
I also tried setting them to new variables within the script block and then using the above options and again it never replaces them.
I can use tokens in the Release Number , app id, deployable id just fine but I cannot as buildvariables.
These are dynamic values so they cannot be hard coded.
If there is already a way to do this you might want to note it in the docs.
[JENKINS-54286] Unable to use variable tokens as build property values in Create Package in Declarative Script
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |