Archive when not unstable 56/6556/1
authorMike Marchetti <mmarchetti@sandvine.com>
Mon, 24 Sep 2018 19:20:51 +0000 (15:20 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Mon, 24 Sep 2018 19:20:51 +0000 (15:20 -0400)
Change-Id: Ie75222afea5a5776515a8cd5743e22662ed22376
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 609708a..1c0c367 100644 (file)
@@ -236,7 +236,7 @@ node("${params.NODE}") {
                     run_systest(container_name,container_name,"smoke")
                     // archive smoke success until stage_4 is ready
 
-                    if ( currentBuild.result.equals('SUCCESS') ) {
+                    if ( ! currentBuild.result.equals('UNSTABLE') ) {
                         stage_archive = params.SAVE_ARTIFACTS_ON_SMOKE_SUCCESS
                     }
                 }