Merge "adding env vars to eventually replace the -r -c params"
authorTim Rozet <trozet@redhat.com>
Wed, 4 May 2016 22:11:58 +0000 (22:11 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Wed, 4 May 2016 22:11:58 +0000 (22:11 +0000)
jjb/apex/apex.yml

index f8e36f7..3ddc7b2 100644 (file)
             # use local build for verify
             if [[ $BUILD_DIRECTORY == *verify-master* ]]; then
                 if [ ! -e "${WORKSPACE}/build/lib" ]; then ln -s ${WORKSPACE}/lib ${WORKSPACE}/build/lib; fi
-                DEPLOY_CMD="./deploy.sh -c ${WORKSPACE}/build -r ${WORKSPACE}/build/images/"
+                DEPLOY_CMD="CONFIG=${WORKSPACE}/build RESOURCES=${WORKSPACE}/build/images/ ./deploy.sh -c ${WORKSPACE}/build -r ${WORKSPACE}/build/images/"
                 DEPLOY_FILE="${WORKSPACE}/config/deploy/${DEPLOY_SCENARIO}.yaml"
                 NETWORK_FILE="${WORKSPACE}/config/network/network_settings.yaml"
                 # Make sure python34 is installed
 
             if [ "$OPNFV_CLEAN" == 'yes' ]; then
                 if [[ $BUILD_DIRECTORY == *verify-master* ]]; then
-                    sudo ./clean.sh
+                    sudo CONFIG=../lib ./clean.sh
                 else
                     sudo opnfv-clean
                 fi