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 10 Next »

This example is a simple Scalatra web app that stores and retrieves messages from Mongo.  You can find the source for the application at https://github.com/davidehringer/scalatra-mongo-sample.  The only difference in this forked example from the original in the Cloud Foundry Samples is that the URL was modified so that it would not collide with other instances of the application that may have already been deployed to Cloudfoundry.com.

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
    1. Uncheck The build will produce test results, as the example doesn't contain tests.

  3. 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.

Create a new screenshot without the services as their own tasks.

 

  • No labels