Skip to content

Commit 02df83a

Browse files
committed
jenkins.bash: Don't delete test results on the second loop run.
Also, spec repo and docker pull also needs to be run once.
1 parent 6f43a3d commit 02df83a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

jenkins.bash

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ venv() {
2020
source "$1"/bin/activate
2121
}
2222

23+
git clean --force -d -x || /bin/true
24+
cloneorpull common-workflow-language https://github.com/common-workflow-language/common-workflow-language.git
25+
docker pull node:slim
26+
2327
# Test for Python 2.7 and Python 3
2428
for PYTHON_VERSION in 2 3
2529
do
26-
git clean --force -d -x || /bin/true
27-
cloneorpull common-workflow-language https://github.com/common-workflow-language/common-workflow-language.git
28-
docker pull node:slim
2930
venv cwltool-venv
3031
export PIP_DOWNLOAD_CACHE=/var/lib/jenkins/pypi-cache/
3132
pip install -U setuptools wheel pip

0 commit comments

Comments
 (0)