export TMP_RELEASE_DIR=$TOPDIR/release
export CACHE_DIR=$TOPDIR/cache
-export TMPDIR=$TOPDIR/scratch
+export TEMPDIR=$TOPDIR/scratch
export RPMDIR=$TOPDIR/rpmbuild
mkdir -p $RPMDIR/RPMS
echo =============================================
echo =======Build ovs rpm with DPDK and test in VM.
echo
-BuildAndTestOVS.sh -d -g master -p none -t
+$BUILD_BASE/BuildAndTestOVS.sh -d -g master -p none -t
#
# Build special version of ovs with patches --TODO
#
echo
cd $BUILD_BASE
-if [ -d $TMPDIR ]
+if [ -d $TEMPDIR ]
then
- echo rm -rf $TMPDIR
- rm -rf $TMPDIR
+ echo rm -rf $TEMPDIR
+ rm -rf $TEMPDIR
fi
# copy artifacts.
if [[ "$JOB_NAME" =~ "daily" ]]; then
- upload_artifacts.sh
+ $BUILD_BASE/../ci/upload_artifacts.sh
fi
if [ -d $TMP_RELEASE_DIR ]; then
# Destroy VM if one has been deployed. Also remove any local installation of
# DPDK and OVS
#
-sudo ../ci/clean.sh
+sudo $BUILD_BASE/../ci/clean.sh
exit 0