Scripts in pre with non zero exit code no longer abort run


#1

I have a Ruby on Rails project we’ve been building through CircleCI for some time now. A handful of months ago we added a script to the pre section that ran a hand-coded smoke test of sorts on one of our files. For most of the time since then, any failure in this script would cause the test run to abort (thus not wasting the considerable time our full suite takes). However this happened recently and did not end the full test run.

Did this behavior change recently? The timing suggests it’s 2.0 related, though notably these test runs are still on 1.0

If so, is there any way to enable the “fast fail” behavior that was previously in place?


#2

This should not be happening, can you give me a link to the build?


#3

Sure thing. Here is one (private) example:

https://circleci.com/gh/myrridin/rosie_server/854


#4

Hi, was this resolved, we are facing the same issue where xcodebuild fails, it doesn’t mark build as failure and continues to run the tests.

https://circleci.com/gh/we-invest/tracker-mobile-ios/100


#5