Commit 04c2a281 authored by Torsten Grote's avatar Torsten Grote

The test for failure should only pass when it fails

parent fd3c96c5
Pipeline #1559 passed with stages
in 27 minutes and 56 seconds
......@@ -29,7 +29,7 @@ test_success:
test_failure:
stage: test
script:
- ! docker run ${TEST_IMAGE} ./reproduce.py release-1.0.3 && echo "Failed as expected"
- if docker run ${TEST_IMAGE} ./reproduce.py release-1.0.3; then exit 1; else exit 0; fi
release:
stage: release
......
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