Issue Type: Bug Bug
Assignee: William Gautier
Components: cloudfoundry-plugin
Created: 26/Feb/15 2:54 PM
Description:

When deploying an application with the "no-route: true" option, then the Jenkins plug-in attempts to delete the route. If the route does not exist (because it was never created), an exception is thrown.

manifest.yml

- name: my-app
  no-route: true

Exception

ERROR: Publisher com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher aborted due to exception
java.lang.IllegalArgumentException: Host 'my-app' not found for domain 'my.domain.com'.
	at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.deleteRoute(CloudControllerClientImpl.java:1816)
	at org.cloudfoundry.client.lib.CloudFoundryClient.deleteRoute(CloudFoundryClient.java:519)
	at com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.processOneApp(CloudFoundryPushPublisher.java:184)
	at com.activestate.cloudfoundryjenkins.CloudFoundryPushPublisher.perform(CloudFoundryPushPublisher.java:115)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:6
Project: Jenkins
Priority: Minor Minor
Reporter: Andreas Buchen
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to