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:
stage: test
- ! docker run ${TEST_IMAGE} ./ release-1.0.3 && echo "Failed as expected"
- if docker run ${TEST_IMAGE} ./ release-1.0.3; then exit 1; else exit 0; fi
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