-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Drush exit with code other than 0 when simpletest fails #212
Comments
Here is a workaround: For now, in order to make sure Jenkins fails I have to test for the presence of [error], like this:
grep -v tells grep to find anything that does not contain the string [error] based on the output of drush test-run. If grep comes up empty-handed it will exit with the error code 1, hence triggering a fail in Jenkins. |
Fix committed to master. |
Had to look this one up ... it' s pull request #189 |
If you're stuck using Drush 6.0, here is a workaround (I realized my workaround in my comment above does not work at all!):
|
Hi,
https://drupal.org/node/1802948 has been marked as fixed back in July, and I am using the latest commit:
Drush seems to exit with code 0 in this circumstance. Here is my output
I'm wondering if we can get this to exit with a code other than 0. This is what git does, for example:
Thanks for your work,
Albert
The text was updated successfully, but these errors were encountered: