diff options
author | Tim Rozet <trozet@redhat.com> | 2016-04-06 16:51:36 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-04-06 16:51:36 -0400 |
commit | 459c3269b98fe21b1e931d8d857eacae1d64b267 (patch) | |
tree | 34399ed583257401c11e808883da19cd77180713 /jjb | |
parent | b9ff5ec4fdbc3db79c14735598df72b681fa87b8 (diff) |
Apex: Fixes opnfv-clean to only run on stable/b
Change-Id: Id82b2daf4fee59b574775f67987d63ae9b81ccac
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/apex/apex.yml | 4 |
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 |