summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-01-17 09:54:57 -0500
committerTim Rozet <trozet@redhat.com>2016-01-17 09:54:57 -0500
commit0bdf5bcfb38b39a4b51ca4fb4971e9d6ce069d19 (patch)
tree5983a9b2a9484bf26aab23e4a9761f7b453d66da
parent018a375cb4303b719a340efe3b699cd2a8a89dec (diff)
apex: fixes daily and brahm trigger
Change-Id: Iea0b5afc773532ce4cae3ed2192138c70a173569 Signed-off-by: Tim Rozet <trozet@redhat.com>
-rw-r--r--jjb/apex/apex.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index ccde87928..ec9173d95 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -314,7 +314,7 @@
- "apex-build.*"
triggers:
- - 'apex-master'
+ - 'apex-{stream}'
builders:
- trigger-builds:
@@ -519,6 +519,9 @@
if [[ $BUILD_DIRECTORY == *verify* ]]; then
BUILD_DIRECTORY=$WORKSPACE/../$BUILD_DIRECTORY
echo "BUILD DIRECTORY modified to $BUILD_DIRECTORY"
+ elif [[ $BUILD_DIRECTORY == *apex-build* ]]; then
+ BUILD_DIRECTORY=$WORKSPACE/../$BUILD_DIRECTORY
+ echo "BUILD DIRECTORY modified to $BUILD_DIRECTORY"
fi
if [[ -f ${BUILD_DIRECTORY}/../opnfv.properties ]]; then
@@ -531,6 +534,10 @@
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
+ elif [[ $BUILD_DIRECTORY == *apex-build* ]]; then
+ echo "BUILD_DIRECTORY is from a daily 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
@@ -680,3 +687,7 @@
name: 'apex-master'
triggers:
- timed: '0 3 * * *'
+- trigger:
+ name: 'apex-brahmaputra'
+ triggers:
+ - timed: '0 6 * * 2050'