dotnet-installer/scripts/ci_postbuild.sh
Andrew Stanton-Nurse 4cc15b1246 restructure the output layout
also reorganize the scripts folder
2015-11-16 09:44:00 -08:00

19 lines
468 B
Bash
Executable file

#!/usr/bin/env bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [[ "$(uname)" == "Linux" ]]; then
# Set Docker Container name to be unique
container_name=""
#Jenkins
[ ! -z "$BUILD_TAG" ] && container_name="$BUILD_TAG"
#VSO
[ ! -z "$BUILD_BUILDID" ] && container_name="$BUILD_BUILDID"
export DOTNET_BUILD_CONTAINER_NAME="$container_name"
$SCRIPT_DIR/docker/dockerpostbuild.sh $@
fi
ret_code=$?
exit $ret_code