For example if i just simply put in the following into the execute shell for Before Release build
This return code will simply being ignored which mean in result that the real build step will be executed which is in my opinion wrong. I have checked that this is true for all kind of ... build steps in relationship with execute shell.
I have added the output of the console which shows this behaviour:
The exit 1 is from the pre release step and the ERROR: Failed to parse POMs is from the build step which should never being executed in case of the exit 1.