-
Improvement
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.176.4
OpenJDK Runtime Environment 11.0.5+10-LTS
Linux 3.10.0-957.27.2.el7.x86_64
configuration-as-code-groovy-plugin 1.1
Running on OpenShift container platform.
jCasC-Groovy plugin is not expanding variables from definitions because the feature is not implemented yet.
Example:
// Variables not expanded, in the case of jCasC defined variables groovy: - url: https://${USER}:${PASS}@web.site.com/path/of/my/resource groovy: - script: println("${MY_VARIABLE}")
I made a Pull Request on Github project ==> https://github.com/jenkinsci/configuration-as-code-groovy-plugin/pull/3