Increase vnf instantiation wait time
[osm/devops.git] / jenkins / ci-pipelines / ci_stage_3.groovy
index c36a512..724daad 100644 (file)
@@ -256,8 +256,14 @@ node("${params.NODE}") {
             }
 
             if ( params.DO_STAGE_4 ) {
+                // override stage_archive to only archive on stable
+                stage_archive = false
                 stage("stage_4") {
                     run_systest(container_name,container_name,"openstack_stage_4",params.HIVE_VIM_1)
+
+                    if ( ! currentBuild.result.equals('UNSTABLE') ) {
+                        stage_archive = keep_artifacts
+                    }
                 }
             }