summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-04-07 10:13:06 -0400
committerDan Radez <dradez@redhat.com>2016-04-07 10:13:06 -0400
commit1bb2dbc9d552611c00f072e1369a2c02dc9a5676 (patch)
tree99cc0f6822afe9c7f21360988fcdfcf738ea7560
parent459c3269b98fe21b1e931d8d857eacae1d64b267 (diff)
Making sure the BUILD_ARGS are set right for Apex daily
Change-Id: I5c09f1890dc77ca7b259e0f3e2761e87371656b6 Signed-off-by: Dan Radez <dradez@redhat.com>
-rw-r--r--jjb/apex/apex.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index c4b1d5b28..89b0a9343 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -663,7 +663,12 @@
export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c file://$CACHE_DIRECTORY --iso"
fi
else
- export OPNFV_ARTIFACT_VERSION=${ARTIFACT_VERSION}
+ export OPNFV_ARTIFACT_VERSION=${ARTIFACT_VERSION}
+ if echo $GERRIT_BRANCH | grep "brahmaputra" 1> /dev/null; then
+ export BUILD_ARGS="-v $OPNFV_ARTIFACT_VERSION -c file://$CACHE_DIRECTORY $BUILD_DIRECTORY"
+ else
+ export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c file://$CACHE_DIRECTORY --iso"
+ fi
fi
# clean for stable but doesn't matter for master
if echo $GERRIT_BRANCH | grep "brahmaputra" 1> /dev/null; then