diff options
author | Tim Rozet <trozet@redhat.com> | 2016-01-15 21:47:14 -0500 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-01-15 21:47:14 -0500 |
commit | 7742b508964e524bfc1a162bbc5cc31187e495c8 (patch) | |
tree | 1d763d12a402a0e1c95d383465c7b6673fe70174 /jjb/apex | |
parent | 5ddd16d41e6bd92a0849577807b177f52ba1ec20 (diff) |
apex: fixes BUILD_DIRECTORY with verify
Change-Id: I41a0ff693403fe3262cd5d8262b27b79ce050977
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r-- | jjb/apex/apex.yml | 7 |
1 files changed, 5 insertions, 2 deletions
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 |