bug 745 re checkin after issues
[osm/devops.git] / jenkins / ci-pipelines / ci_stage_3.groovy
index 20840b5..b698bc2 100644 (file)
@@ -229,12 +229,7 @@ node("${params.NODE}") {
                     {
                         repo_base_url = "-u ${params.REPOSITORY_BASE}"
                     }
-                                       
-                                       // Jayant: bug 745 enabling the flag to keep container after failure. So the below
-                                       //         code will do the cleanup of previous dockers, if any.
-                                       
-                    sh "docker stack list |  awk '{ print $1 }'| xargs docker stack rm"
-                                       
+                    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 \