I have a freestyle project, that has 3 build step.
1) compile and test with maven
2) deploy to test environment and execute acceptance test as a parameterized triggered build
3) deploy artifact to nexus with maven
When the second step fails (due to problems in deployment or acceptance test) I would expect, that the third step (of deploying the artifact) is not executed at all.