Attempting to deploy from the pipeline in DevOps Services. My project has 3 sub-projects, each contained in a sub-folder and each sub-project is pushable.
After building the project, I have a deploy stage that changes directory to one of the sub-projects, and does a cf push. I've seen a few different errors thus far, either I get:
Done uploading
FAILED
Error uploading application.
An unknown error occurred.
Build step 'Execute shell' marked build as failure
Finished: FAILURE
or:
Uploading VM-spring-boot-cities-service...
FAILED
Error uploading application.
Server error, status code: 500, error code: 10001, message: An unknown error occurred.
Build step 'Execute shell' marked build as failure
Finished: FAILURE
I checked the service outage pages, nothing appears to be having problems at this time.. Any ideas on how to get further information beyond "An unknown error occured." ??
Answer by VMorris (185) | Apr 04, 2015 at 12:48 AM
Okay, I'm back to making progress.
I built the project locally and was able to push out to Pivotal WS, which gave me some insights and used the java buildpack from https://github.com/cloudfoundry/java-buildpack to get Bluemix to deploy as well.
I believe the problem is that the Bluemix push defaulted to the Liberty buildpack, which doesn't seem to support embedded Tomcat.
A second attempt to push using the Bluemix-provided standard Java buildpack succeeded as well.