From 227e9dfcb2afbda837cfd9cb94ba97daed03ecad Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Sat, 15 Sep 2018 14:43:07 -0400 Subject: [PATCH 1/1] Update uninstall_osm method Change-Id: Ie5432a4c75187b77233b82fa6899e0d5031cab17 Signed-off-by: Mike Marchetti --- jenkins/ci-pipelines/ci_stage_3.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } } } -- 2.25.1