-
Bug
-
Resolution: Unresolved
-
Critical
Git plugin writes no-change if the parameter point to build parameter '${branch_name}' in GitSCM class line: 620:
final EnvVars environment = project instanceof AbstractProject ? GitUtils.getPollEnvironment((AbstractProject) project, workspace, launcher, listener, false) : new EnvVars();
so the 'environment' is empty and won't be resolved.
Could you describe the problem you're seeing in terms that can be seen from the user interface?
I don't understand the cases where you're seeing a problem, nor do I understand what you're proposing as a solution.
Alternately, please create a pull request which includes tests that show the problem you're describing, and include the proposed change in the same pull request.