Commit ca6e637c authored by Tails developers's avatar Tails developers
Browse files

Actually abort whenever we want, and pretend to.

parent 21f0a583
......@@ -50,15 +50,19 @@ if [ -n "$JENKINS_URL" ]; then
if [ -z "$WORKSPACE" ]; then
echo "WORKSPACE environment variable is not set. Aborting." >&2
exit 2
fi
if [ -z "$ARTIFACTS_ROOT_DIR" ] ; then
echo "ARTIFACTS_ROOT_DIR environment variable is not set. Aborting." >&2
exit 3
fi
if [ -z "$GIT_BRANCH" ]; then
echo "GIT_BRANCH environment variable is not set. Aborting." >&2
exit 4
fi
if [ -z "$GIT_COMMIT" ]; then
echo "GIT_COMMIT environment variable is not set. Aborting." >&2
exit 5
fi
REV="${GIT_BRANCH##origin/}"
COMMIT="$GIT_COMMIT"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment