Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Example Source:
https://github.com/cloudfoundry-samples/springmvc-hibernate-template

Service creation from manifest.yml not supported so you must create the services in separate Services tasks. Binding services listed in manifest.yml is supported so you don't need to bind them separately.

To deploy the example app, configure a Job with the following tasks:

  1. Checkout source
  2. Build the WAR file using Maven 3: mvn clean package
  3. Create the required postgresql-for-cf-and-spring-sample PostgreSQL service using the Service Task.
  4. Create the required redis-for-cf-and-spring-sample Redis service using the Service Task.
  5. Configure a Push Task for deploying the WAR file
    1. Select your target
    2. The Application Location defaults should be sufficient
    3. Select Manifest File for the Configuration Option.
    4. (Optional) Check Wait for startup to complete? if you want Bamboo to monitor the deployment process.

You can now run the Plan and the application will be deployed.

  • No labels