Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / jjb / lf-openstack-heat.yaml
index ee60fe2..0797e34 100644 (file)
@@ -11,7 +11,7 @@
       - config-file-provider:
           files:
             - file-id: clouds-yaml
-              target: '$HOME/.config/openstack/clouds.yaml'
+              target: "$HOME/.config/openstack/clouds.yaml"
       - shell: !include-raw: ../shell/openstack-stack-parameters.sh
       - shell: !include-raw-escape: ../shell/openstack-stack-create.sh
       - shell: !include-raw-escape: ../shell/openstack-stack-copy-ssh-keys.sh
@@ -35,9 +35,6 @@
                 - config-file-provider:
                     files:
                       - file-id: clouds-yaml
-                        target: '$HOME/.config/openstack/clouds.yaml'
-                - shell: |
-                    #!/bin/bash -l
-                    echo "Deleting $OS_STACK_NAME"
-                    lftools openstack --os-cloud "$OS_CLOUD" stack delete "$OS_STACK_NAME"
+                        target: "$HOME/.config/openstack/clouds.yaml"
+                - shell: !include-raw-escape: ../shell/openstack-stack-delete.sh
           mark-unstable-if-failed: false