Commit 6c305214 by Calen Pennington

Remove origin/ and replace '/' in branch names in tar file

parent 20a59fd1
......@@ -9,6 +9,8 @@ if [ -z "${GIT_BRANCH}" ]; then
GIT_BRANCH=${GIT_BRANCH##refs/heads/}
GIT_BRANCH=${GIT_BRANCH:-HEAD}
fi
GIT_BRANCH=${GIT_BRANCH##origin/}
GIT_BRANCH=${GIT_BRANCH//\//_}
if [ -z "${BUILD_NUMBER}" ]; then
BUILD_NUMBER=dev
......
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