summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex.yml
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-01-15 17:44:57 -0500
committerTim Rozet <trozet@redhat.com>2016-01-15 17:44:57 -0500
commit909763a61575f1a3ec7a43f63e30fadcaf7cee76 (patch)
treee780a6f401f5e3799c3341cc497cdd0b505402a5 /jjb/apex/apex.yml
parent07bec8b437519b2d37973b789c9d039ed57984f6 (diff)
apex: fixes issue with build directory for virtual verify
Change-Id: I61035066378e1d69c58562dd28e09bc89d74165c Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex/apex.yml')
-rw-r--r--jjb/apex/apex.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index c1e0f46f7..8e2f51152 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -95,13 +95,13 @@
- trigger-builds:
- project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream}'
predefined-parameters:
- BUILD_DIRECTORY=apex-verify-master
+ BUILD_DIRECTORY=apex-verify-master/build_output
git-revision: false
block: true
- trigger-builds:
- project: 'apex-deploy-virtual-os-onos-nofeature-ha-{stream}'
predefined-parameters:
- BUILD_DIRECTORY=apex-verify-master
+ BUILD_DIRECTORY=apex-verify-master/build_output
git-revision: false
block: true
- 'apex-workspace-cleanup'
@@ -488,6 +488,11 @@
source ${BUILD_DIRECTORY}/../opnfv.properties
RPM_INSTALL_PATH=${BUILD_DIRECTORY}/$(basename $OPNFV_RPM_URL)
else
+ if [[ $BUILD_DIRECTORY == *verify* ]]; then
+ echo "BUILD_DIRECTORY is from a verify job, so will not use latest from URL"
+ echo "Check that the slave has opnfv.properties in $BUILD_DIRECTORY"
+ exit 1
+ fi
# no opnfv.properties means use the latest from artifacts.opnfv.org
# get the latest.properties to get the link to the latest artifact
curl -s -o $WORKSPACE/opnfv.properties http://$GS_URL/latest.properties