Correct current_build expansion for rhos pipeline jobs
current_build for rhos jobs is a puddle not a dlrn hash so when we run it through the hash expander we get nothing back and pass a blank current build. The build then fails because quickstart can't figure out what puddle to download. Change-Id: I011e358cd26e553275d00e02e198d3744e1c4cbe
This commit is contained in:
parent
0804dc9dc0
commit
277111dd31
@ -45,13 +45,14 @@ if [ ! -z ${current_build+x} ]
|
||||
source $WORKSPACE/tripleo-environments/ci-scripts/internal-functions.sh
|
||||
hash=$(get_delorean_hash_from_url $current_build)
|
||||
expanded_hash=$(get_expanded_delorean_hash_from_url $current_build)
|
||||
export VARS="$VARS --extra-vars current_build=$hash"
|
||||
|
||||
if [[ $RELEASE == *rhos-* ]]
|
||||
then
|
||||
export RELEASE="$RELEASE" #no mutations needed after latest changes
|
||||
export VARS="$VARS --extra-vars current_build=$current_build"
|
||||
else
|
||||
export RELEASE="$RELEASE-rhel"
|
||||
export VARS="$VARS --extra-vars current_build=$hash"
|
||||
fi
|
||||
|
||||
#If we are not in the pipeline downstream builds need to use current-passed-ci
|
||||
|
Loading…
x
Reference in New Issue
Block a user