X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fci-pipelines%2Fci_stage_3.groovy;fp=jenkins%2Fci-pipelines%2Fci_stage_3.groovy;h=44b8d7664a28c703b04003e22a35ab117d07113e;hb=227e9dfcb2afbda837cfd9cb94ba97daed03ecad;hp=e5da90161a27a0ff435a56e045a9f5026a9d70c2;hpb=b7c442c64ecc44e811c322b9b5f0851802073d8e;p=osm%2Fdevops.git diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index e5da9016..44b8d766 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -40,7 +40,7 @@ properties([ ]) ]) -def uninstall_osm( stackName ) { +def uninstall_osm(stackName) { sh """ export OSM_USE_LOCAL_DEVOPS=true export PATH=$PATH:/snap/bin @@ -247,13 +247,13 @@ node("${params.NODE}") { if ( params.DO_INSTALL ) { if (error) { if ( !params.SAVE_CONTAINER_ON_FAIL ) { - uninstall_osm ${container_name} + uninstall_osm container_name } throw error } else { if ( !params.SAVE_CONTAINER_ON_PASS ) { - uninstall_osm ${container_name} + uninstall_osm container_name } } }