summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-05-09 11:41:42 +0100
committerMarkos Chandras <mchandras@suse.de>2018-05-09 11:45:11 +0100
commit5ce903b099b47ffca3b50323e2396517a098bef7 (patch)
treed35a1c8f7ff942ef071a848f1166c6140c635a89 /jjb
parent1b95992f4d6162f33a10e86ea3a16fbd015efe75 (diff)
jjb: xci: xci-start-new-vm: Fix gerrit variable for git SHA
The gerrit variable for the git SHA is GERRIT_PATCHSET_REVISION instead of GERRIT_CHANGE_ID. We also need to export the XCI_ANSIBLE_PARAMS variable. Change-Id: I206820f1155a4876fb7d87cc0b5ae1b8afb06bd6 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/xci/xci-start-new-vm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/xci/xci-start-new-vm.sh b/jjb/xci/xci-start-new-vm.sh
index f1585b9f0..e68b931db 100755
--- a/jjb/xci/xci-start-new-vm.sh
+++ b/jjb/xci/xci-start-new-vm.sh
@@ -68,7 +68,7 @@ export BUILD_TAG=$BUILD_TAG
export NODE_NAME=$NODE_NAME
if [[ ! -z ${WORKSPACE+x} && $GERRIT_PROJECT != "releng-xci" ]]; then
- XCI_ANSIBLE_PARAMS="-e /home/devuser/releng-xci/scenario_overrides.yml"
+ export XCI_ANSIBLE_PARAMS="-e /home/devuser/releng-xci/scenario_overrides.yml"
fi
cd xci
@@ -80,7 +80,7 @@ if [[ ! -z ${WORKSPACE+x} && $GERRIT_PROJECT != "releng-xci" ]]; then
---
xci_scenarios_overrides:
- scenario: $DEPLOY_SCENARIO
- version: $GERRIT_CHANGE_ID
+ version: $GERRIT_PATCHSET_REVISION
refspec: $GERRIT_REFSPEC
EOF
fi