Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

Commit

Permalink
Cleanup Routes Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
go0ty authored Sep 8, 2017
1 parent f741d95 commit 5255f6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JenkinsFile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ node {
for (Object legacyApp : legacyAppNames.trim().tokenize(',')) {
def legacyAppName = legacyApp.toString().trim()
if (legacyAppName != appName) {
sh "cf unmap-route ${legacyAppName} ${env.PHASE_ONE_PCF_DOMAIN} --hostname ${legacyAppName}"
sh "cf unmap-route ${legacyAppName} ${env.PHASE_ONE_PCF_DOMAIN} --hostname pz-docs"
sh "cf delete -f ${legacyAppName} -r"
}
}
Expand Down Expand Up @@ -144,7 +144,7 @@ node {
for (Object legacyApp : legacyAppNames.trim().tokenize(',')) {
def legacyAppName = legacyApp.toString().trim()
if (legacyAppName != appName) {
sh "cf unmap-route ${legacyAppName} ${env.PHASE_TWO_PCF_DOMAIN} --hostname ${legacyAppName}"
sh "cf unmap-route ${legacyAppName} ${env.PHASE_TWO_PCF_DOMAIN} --hostname pz-docs"
sh "cf delete -f ${legacyAppName} -r"
}
}
Expand Down

0 comments on commit 5255f6e

Please sign in to comment.