test-ansible-env-prep.sh: Do not exit if ZUUL_CHANGE_IDS is empty
Commitcf6bea2acc
("Enable cross-repo testing for OSA role tests") added the ability to test patchsets along with their dependencies. However, this breaks regular testing since the 'grep ^ZUUL' will return false in case we are not in an zuul environment. As such, fix this command to always return true. Fixes:cf6bea2acc
("Enable cross-repo testing for OSA role tests") Change-Id: Id8c020264e61bd77a04b41957ee1313f693328eb
This commit is contained in:
parent
81b052c423
commit
a6c205c986
|
@ -50,7 +50,7 @@ echo "ANSIBLE_INVENTORY: ${ANSIBLE_INVENTORY}"
|
|||
# Output all the zuul parameters if they're set
|
||||
if [ -z "${ZUUL_CHANGE_IDS}" ]; then
|
||||
echo -e "\n### ZUUL PARAMETERS BEGIN ###\n"
|
||||
printenv | grep ^ZUUL
|
||||
printenv | grep ^ZUUL || true
|
||||
echo -e "\n### ZUUL PARAMETERS END ###\n"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue