[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
Noting #1205

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Fixed noting of #1205