X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fci-pipelines%2Fci_stage_3.groovy;h=ec4cdaffa62e72a081a8c3920ba7651e597f63e5;hb=refs%2Fchanges%2F85%2F6685%2F2;hp=49b4b72f8b5970dfbcf87590f7e962767add36a1;hpb=339a8a4bfb8212560b2374b4beb5b6eb703fae90;p=osm%2Fdevops.git diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 49b4b72f..ec4cdaff 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -176,7 +176,7 @@ node("${params.NODE}") { if ( params.DO_BUILD ) { stage("Build") { sh "make -C docker clean" - sh "make -j4 -C docker CMD_DOCKER_ARGS= TAG=${container_name} RELEASE=${params.RELEASE} REPOSITORY_BASE=${repo_base_url} REPOSITORY_KEY=${params.REPO_KEY_NAME} REPOSITORY=${params.REPO_DISTRO}" + sh "make -C docker Q= CMD_DOCKER_ARGS= TAG=${container_name} RELEASE=${params.RELEASE} REPOSITORY_BASE=${repo_base_url} REPOSITORY_KEY=${params.REPO_KEY_NAME} REPOSITORY=${params.REPO_DISTRO}" } } @@ -235,7 +235,10 @@ node("${params.NODE}") { stage("Smoke") { run_systest(container_name,container_name,"smoke") // archive smoke success until stage_4 is ready - stage_archive = params.SAVE_ARTIFACTS_ON_SMOKE_SUCCESS + + if ( ! currentBuild.result.equals('UNSTABLE') ) { + stage_archive = params.SAVE_ARTIFACTS_ON_SMOKE_SUCCESS + } } }