Commit da588aad authored by Martinez, Eric M.'s avatar Martinez, Eric M.

Manually pulling tags. Not prefixing with origin/

parent 32bebde9
......@@ -46,10 +46,11 @@ node {
// Clone latest source
SCM_VARS = checkout scm
sh "git fetch --tags origin"
if (GIT_BRANCH != '') {
// Check out the specified branch
sh "git checkout --detach origin/${GIT_BRANCH}"
sh "git checkout --detach ${GIT_BRANCH}"
// Update relevant SCM_VARS
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment