fschulze/mr.developer — Issue #80: Wrong exit code on errors
Author: avoinea
Created: 2012-02-03 14:50:23+00:00
State: open

As you can see bellow, exit code is 0 even if mr.developer fails and sys.exit(1). This makes jenkins to mark job SUCCESSFUL and from here a lot of problems arise.

```bin/develop rb; echo $?```

```
Last used buildout arguments: -c alin.cfg
INFO: Running buildout.
....
mr.developer: git remote of 'p4a.common' failed.
mr.developer: fatal: Not a git repository (or any parent up to mount parent )
mr.developer: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
mr.developer:
mr.developer: Updated 'eea.versions' with subversion.
mr.developer: Updated 'eea.translations' with subversion.
mr.developer: Updated 'eea.vocab' with subversion.
mr.developer: Updated 'eea.workflow' with subversion.
mr.developer: There have been errors, see messages above.
0
```