-
Variable in variable is not supported. However you can achieve this via script. To do it, please switch to menu
Administration / Groovy Scriptsto define a script with name sayget-branch-aware-keywith below content:if (build.branch != null) return build.getJobSecretAuthorizationContext().getSecretValue(build.branch + "_key") else return "default_key"Then you can use
@script:get-branch-aware-key@to get value of desired secret -
Previous Value Current Value Open
Closed
-
| Type |
Question
|
| Priority |
Major
|
| Assignee |
Issue Votes (0)
I have configured two Job Secrets