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:
parent
dd300fe49e
commit
37fce96531
@ -4,9 +4,8 @@
|
||||
cmd: |
|
||||
set -e
|
||||
set -x
|
||||
BRANCH=$ZUUL_REFNAME
|
||||
# After migration to zuulv3 BRANCH now looks like refs/heads/master
|
||||
export BRANCH_PATH=`echo $BRANCH | sed -e "s/refs\/heads\///" | tr / -`
|
||||
BRANCH={{ zuul.branch }}
|
||||
export BRANCH_PATH=`echo $BRANCH | tr / -`
|
||||
|
||||
mkdir UPLOAD_RAW
|
||||
mkdir UPLOAD_TAR
|
||||
|
Loading…
x
Reference in New Issue
Block a user