Folks,
There is an environment variable a job is configured with, BRANCH
, but when I try configuring git scm with it, i get an error in console
Branch Specifier (blank for 'any')
*/${BRANCH}
git rev-parse refs/remotes/origin/${BRANCH}^{commit} # timeout=10 git rev-parse refs/remotes/origin/origin/${BRANCH}^{commit} # timeout=10 git rev-parse origin/${BRANCH}^{commit} # timeout=10 ERROR: Couldn't find any revision to build.
I am 100% certain git is fine, branch exists.