Here\'s the code I\'m playing with
node { stage \'build\' echo \'build\' stage \'tests\' echo \'tests\' stage \'end-to-end-tests\'
Sounds like JENKINS-26522. Currently the best you can do is set an overall result:
if (result.equals("SUCCESS")) { stage 'deploy' build 'deploy' } else { currentBuild.result = e2e.result // but continue }