Change-Id: Id82b2daf4fee59b574775f67987d63ae9b81ccac
Signed-off-by: Tim Rozet <trozet@redhat.com>
export OPNFV_ARTIFACT_VERSION=${ARTIFACT_VERSION}
fi
# clean for stable but doesn't matter for master
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
# start the build
cd $WORKSPACE/ci
./build.sh $BUILD_ARGS