-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Development
team,
I am facing issue with pushing my application onto cloud foundry using Jenkins with Cloud Foundry plugin. But, I was able to push the same application using command line interface. I am getting the following error.
ERROR: Unknown CloudFoundryException: 400 Bad Request
ERROR: Cloud Foundry error code: -1
ERROR: The app package is invalid: bits have not been uploaded
org.cloudfoundry.client.lib.CloudFoundryException: 400 Bad Request (The app package is invalid: bits have not been uploaded)
at org.cloudfoundry.client.lib.rest.CloudControllerResponseErrorHandler.getException(CloudControllerResponseErrorHandler.java:69)
at org.cloudfoundry.client.lib.rest.CloudControllerResponseErrorHandler.handleError(CloudControllerResponseErrorHandler.java:24)
at org.cloudfoundry.client.lib.org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:589)
at org.cloudfoundry.client.lib.org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:547)
It would be a great help if someone could help me in resolving the issue.
phani_kumar - can you please try the 2.x release of the CloudFoundry plugin? The way apps are pushed has been rewritten to behave more closely with running cf push on the CLI, so this may no longer be an issue.