Thanks for the pull request!

From what I understand CloudFoundryClient.createApplication() always creates a new route, so it is then deleted if "no-route: true" is set. That was a bit of a naive implementation of "no-route".

Looking into it, the CF Go client's documentation says "no-route: Do not map a route to this app and remove routes from previous pushes of this app.". So to copy this behaviour it would be best to just cycle through all routes and delete them. Also this way you wouldn't have to check if the particular route created during this deployment exists.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to