[FIXED JENKINS-22699] Add option to archive only if successful
Merge pull request #1205 from daniel-beck/JENKINS-22699

[FIXED JENKINS-22699] - JUnit Archiver. Add option to archive only when successful