projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update uninstall_osm method
[osm/devops.git]
/
jenkins
/
ci-pipelines
/
ci_stage_3.groovy
diff --git
a/jenkins/ci-pipelines/ci_stage_3.groovy
b/jenkins/ci-pipelines/ci_stage_3.groovy
index
e5da901
..
44b8d76
100644
(file)
--- 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
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 ) {
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 ) {
}
throw error
}
else {
if ( !params.SAVE_CONTAINER_ON_PASS ) {
- uninstall_osm
${container_name}
+ uninstall_osm
container_name
}
}
}
}
}
}