jjb: xci: xci-verify-jobs: Export clean vm variables properly 37/44337/1
authorMarkos Chandras <mchandras@suse.de>
Thu, 5 Oct 2017 08:57:10 +0000 (09:57 +0100)
committerMarkos Chandras <mchandras@suse.de>
Thu, 5 Oct 2017 08:57:10 +0000 (09:57 +0100)
The variables are meant to be used by the start-vm-new.sh script
instead of the XCI test so they need to be exported properly before
we run the script.

Change-Id: I224ec7bfced5eb51f01de46bd042274bcf3ec86b
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/xci/xci-verify-jobs.yml

index ff3c689..0a7b960 100644 (file)
           export INSTALLER_TYPE=$INSTALLER_TYPE
           export GIT_BASE=$GIT_BASE
           export JENKINS_HOME=$JENKINS_HOME
-          export XCI_BUILD_CLEAN_VM_OS=false
-          export XCI_UPDATE_CLEAN_VM_OS=true
 
           cd xci
           ./xci-deploy.sh
           EOF
           chmod a+x xci_test.sh
 
+          export XCI_BUILD_CLEAN_VM_OS=false
+          export XCI_UPDATE_CLEAN_VM_OS=true
+
           ./xci/scripts/vm/start-new-vm.sh $DISTRO
       - shell: |
           #!/bin/bash