Replace ZUUL_REFNAME for zuul.branch
Replace `ZUUL_REFNAME` in favor of `zuul.branch` to get the correct branch name when building images. Change-Id: I6fe33b2f17c742d57d19985169cd9800007b5768
This commit is contained in:
@@ -4,9 +4,8 @@
|
|||||||
cmd: |
|
cmd: |
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
BRANCH=$ZUUL_REFNAME
|
BRANCH={{ zuul.branch }}
|
||||||
# After migration to zuulv3 BRANCH now looks like refs/heads/master
|
export BRANCH_PATH=`echo $BRANCH | tr / -`
|
||||||
export BRANCH_PATH=`echo $BRANCH | sed -e "s/refs\/heads\///" | tr / -`
|
|
||||||
|
|
||||||
mkdir UPLOAD_RAW
|
mkdir UPLOAD_RAW
|
||||||
mkdir UPLOAD_TAR
|
mkdir UPLOAD_TAR
|
||||||
|
Reference in New Issue
Block a user