Jenkins Git Branch not working with Environment Variables -


folks, there environment variable job configured with, branch, when try configuring git scm it, error in console

branch specifier (blank '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 revision build.

i 100% git fine, branch exists.

change */${branch} */$branch, works me.

branch specifier (blank 'any') */$branch


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -