-
Bug
-
Resolution: Unresolved
-
Minor
-
jenkins 2.90 github-branch-source-plugin 2.31
I wanted to use the local reference clone option with an environment variable. Because the local reference directory is slightly different on every agent. I did this in the past with the Freestyle projects and it worked like a charm. I override the variable in every node.
This doesn't work with pipeline multibranch projects. The clone option will not expand the variable because the build hasn't propagated them yet. Because the initial scm step is to clone the repo and pipeline and then run the pipeline and configure the build environment.
Without environment variable support this feature is useless for me