summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-04-06 16:51:36 -0400
committerTim Rozet <trozet@redhat.com>2016-04-06 16:51:36 -0400
commit459c3269b98fe21b1e931d8d857eacae1d64b267 (patch)
tree34399ed583257401c11e808883da19cd77180713
parentb9ff5ec4fdbc3db79c14735598df72b681fa87b8 (diff)
Apex: Fixes opnfv-clean to only run on stable/b
Change-Id: Id82b2daf4fee59b574775f67987d63ae9b81ccac Signed-off-by: Tim Rozet <trozet@redhat.com>
-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