Skip to content

Commit a33bc7a

Browse files
committed
jenkins.bash: Add up return code from tests in both runtimes
1 parent 0a1b58d commit a33bc7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jenkins.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ do
4242
EXTRA="EXTRA=--enable-dev"
4343
fi
4444
./run_test.sh --junit-xml=result${PYTHON_VERSION}.xml RUNNER=cwltool -j4 DRAFT=${version}
45+
CODE=$(($CODE+$?)) # capture return code of ./run_test.sh
4546
deactivate
46-
CODE=$?
4747
popd
4848
done
4949

0 commit comments

Comments
 (0)