youtubebeat/vendor/github.com/elastic/beats/dev-tools/jenkins_intake.sh

19 lines
327 B
Bash
Raw Normal View History

2018-11-18 11:08:38 +01:00
#!/usr/bin/env bash
set -euox pipefail
: "${HOME:?Need to set HOME to a non-empty value.}"
: "${WORKSPACE:?Need to set WORKSPACE to a non-empty value.}"
source ./dev-tools/common.bash
jenkins_setup
cleanup() {
echo "Running cleanup..."
rm -rf $TEMP_PYTHON_ENV
echo "Cleanup complete."
}
trap cleanup EXIT
make check