From 7742b508964e524bfc1a162bbc5cc31187e495c8 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Fri, 15 Jan 2016 21:47:14 -0500 Subject: apex: fixes BUILD_DIRECTORY with verify Change-Id: I41a0ff693403fe3262cd5d8262b27b79ce050977 Signed-off-by: Tim Rozet --- jjb/apex/apex.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'jjb/apex') diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index 8e2f51152..22817dd1a 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -321,8 +321,6 @@ block: true - trigger-builds: - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}' - predefined-parameters: - DEPLOY_SCENARIO="os-odl_l2-nofeature-ha" git-revision: true block: true - trigger-builds: @@ -482,6 +480,11 @@ # specific artifact from artifacts.opnfv.org RPM_INSTALL_PATH=$GS_URL/$ARTIFACT_NAME else + if [[ $BUILD_DIRECTORY == *verify* ]]; then + BUILD_DIRECTORY=$WORKSPACE/../$BUILD_DIRECTORY + echo "BUILD DIRECTORY modified to $BUILD_DIRECTORY" + fi + if [[ -f ${BUILD_DIRECTORY}/../opnfv.properties ]]; then # if opnfv.properties exists then use the # local build. Source the file so we get local OPNFV vars -- cgit 1.2.3-korg