X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fci-pipelines%2Fci_stage_3.groovy;h=724daadbe757dfd81407a437b161bb7a411ebcb1;hb=699b94f00c1766f42230700235d42abb1b266aa9;hp=c36a512287e1cb321b48f076fa1d4c427b282004;hpb=5ec8d0adc7c03ec6a7c63f4d23302e2ab619cb82;p=osm%2Fdevops.git diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index c36a5122..724daadb 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -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 + } } }