No need for && when we have newlines

This commit is contained in:
Simon Sapin 2018-09-11 19:06:32 +02:00
parent 5a419e4466
commit c802c5bc4f

View file

@ -42,9 +42,11 @@ def create_task(name, command, artifacts=None, dependencies=None, env=None, cach
"--login", "--login",
"-c", "-c",
""" """
git clone $GITHUB_EVENT_CLONE_URL repo && set -e
cd repo && set -x
git checkout $GITHUB_EVENT_COMMIT_SHA && git clone $GITHUB_EVENT_CLONE_URL repo
cd repo
git checkout $GITHUB_EVENT_COMMIT_SHA
""" + command """ + command
], ],
"env": env, "env": env,