You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring a Jenkins job to use the JTE "From SCM/Git" the "Branch Specifier" is specifying the Branch to use. In help information it says:
${ENV_VARIABLE}
It is also possible to use environment variables. In this case the variables are evaluated and the result is used as described above.
E.g. ${TREEISH}, refs/tags/${TAGNAME}, ...
But when using as described the Variable Names are not substituted by their values.
Relevant log output
Started by user xyz
[JTE] Obtained Pipeline Configuration File (show)
[JTE] Pipeline Configuration Modifications (show)
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress --prune -- origin +refs/heads/"${MY_GIT_BRANCH}":refs/remotes/origin/"${MY_GIT_BRANCH}"" returned status code 128:
stdout:
stderr: fatal: couldn't find remote ref refs/heads/"${MY_GIT_BRANCH}"
Steps to Reproduce
Easy to reproduce.
Enter an Environment Variable at the "Branch Speifier"
The text was updated successfully, but these errors were encountered:
Jenkins Version
CloudBees CI Client Controller 2.375.1.1-rolling
JTE Version
2.5.3
Bug Description
When configuring a Jenkins job to use the JTE "From SCM/Git" the "Branch Specifier" is specifying the Branch to use. In help information it says:
But when using as described the Variable Names are not substituted by their values.
Relevant log output
Steps to Reproduce
Easy to reproduce.
Enter an Environment Variable at the "Branch Speifier"
The text was updated successfully, but these errors were encountered: