Skip to content

Commit 0619d5d

Browse files
author
Jason Schmidt
authored
fix: typo in find command was causing pulumi stacks to not be deleted (#160)
1 parent b4ff561 commit 0619d5d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

extras/jenkins/AWS/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ pipeline {
188188

189189
sh '''
190190
$WORKSPACE/bin/destroy.sh
191-
find . -mindepth 2 -maxdepth 6 -type f -name Pulumi.yaml -execdir pulumi stack rm marajenkaws${BUILD_NUMBER} --force --yes \\;
191+
find . -mindepth 2 -maxdepth 6 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenkaws${BUILD_NUMBER} --force --yes \;
192192
'''
193193
}
194194
}

extras/jenkins/DigitalOcean/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pipeline {
197197
# Destroy our partial build...
198198
$WORKSPACE/bin/destroy.sh || true
199199
# Clean up the Pulumi stack if it exists for our run - which it shouldn\'t, but you never know.
200-
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \\;
200+
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \;
201201
'''
202202
}
203203
}

extras/jenkins/K3S/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ pipeline {
228228
/usr/local/bin/k3s-killall.sh || true
229229
/usr/local/bin/k3s-uninstall.sh || true
230230
# Clean up the Pulumi stack if it exists for our run - which it shouldn\'t, but you never know.
231-
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \\;
231+
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \;
232232
'''
233233
}
234234
}

extras/jenkins/Linode/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ pipeline {
183183
# Destroy our partial build...
184184
$WORKSPACE/bin/destroy.sh || true
185185
# Clean up the Pulumi stack if it exists for our run - which it shouldn\'t, but you never know.
186-
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \\;
186+
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \;
187187
'''
188188
}
189189
}

extras/jenkins/MicroK8s/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ pipeline {
240240
# True if it’s not there…
241241
snap remove microk8s || true
242242
# Clean up the Pulumi stack if it exists for our run - which it shouldn\'t, but you never know.
243-
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \\;
243+
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \;
244244
'''
245245
}
246246
}

extras/jenkins/Minikube/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ _EOF_
249249
# True if it's not there
250250
minikube delete || true
251251
# Clean up the Pulumi stack if it exists for our run - which it shouldn\'t, but you never know.
252-
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \\;
252+
find $WORKSPACE -mindepth 2 -maxdepth 7 -type f -name Pulumi.yaml -execdir $WORKSPACE/pulumi/python/venv/bin/pulumi stack rm marajenk${BUILD_NUMBER} --force --yes \;
253253
'''
254254
}
255255
}

0 commit comments

Comments
 (0)