From: madavi Date: Mon, 1 Jul 2019 07:54:55 +0000 (+0530) Subject: bug 745 improvement fixed X-Git-Tag: v7.0.0rc1~94 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=76a6dc2add1821f60f30d6312bf4f841a775f601;p=osm%2Fdevops.git bug 745 improvement fixed Change-Id: If08c4a78291166ac9e834f53f4578595b5a1fca9 Signed-off-by: madavi --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 9620ead7..1a4c0091 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -229,7 +229,9 @@ node("${params.NODE}") { { repo_base_url = "-u ${params.REPOSITORY_BASE}" } - sh "docker stack list | awk '{ print \$1 }'| xargs docker stack rm" + if ( params.DO_STAGE_4 ) { + sh "docker stack list | awk '{ print \$1 }'| xargs docker stack rm" + } sh """ export PATH=$PATH:/snap/bin installers/full_install_osm.sh -y -s ${container_name} --test --nolxd --nodocker --nojuju --nohostports --nohostclient \