From 0bdf5bcfb38b39a4b51ca4fb4971e9d6ce069d19 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Sun, 17 Jan 2016 09:54:57 -0500 Subject: [PATCH] apex: fixes daily and brahm trigger Change-Id: Iea0b5afc773532ce4cae3ed2192138c70a173569 Signed-off-by: Tim Rozet --- jjb/apex/apex.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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' -- 2.16.6