summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/apex/apex.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index e98e3f94a..c4b1d5b28 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -666,7 +666,9 @@
export OPNFV_ARTIFACT_VERSION=${ARTIFACT_VERSION}
fi
# clean for stable but doesn't matter for master
- sudo opnfv-clean || echo ""
+ if echo $GERRIT_BRANCH | grep "brahmaputra" 1> /dev/null; then
+ sudo opnfv-clean
+ fi
# start the build
cd $WORKSPACE/ci
./build.sh $BUILD_ARGS