Difference between revisions of "Autobuild Config"

From PCGen Wiki
Jump to: navigation, search
(Steps)
(Steps)
Line 21: Line 21:
 
# Upload the project.xml from the pcgen directory and click Add
 
# Upload the project.xml from the pcgen directory and click Add
 
# Continuum will download the project
 
# Continuum will download the project
 +
# Create a new schedule for the nightly build
 +
# Add a new build definition. The goal should be '''clean:clean jar pcgen:package site:deploy''' and uses the nightly schedule
 +
# Once the download has completed, manually start the build to test it

Revision as of 09:09, 16 September 2008

So you want to set up an autobuild site? This is how our current nightly autobuild is configured.


Requirements

  • Maven
  • Ant
  • Continuum
  • Java SDK

Assumptions

It is assumed that you have a working build environment as detailed in Building_PCGen

Steps

  1. Download and install Continuum 1.1
  2. Configure the email settings as noted in the install docs
  3. Start Continuum and go to the default page - http://localhost:8080/continuum
  4. Create an admin user and then login
  5. Set the config options as appropriate
  6. Add Project - Maven 1.x
  7. Upload the project.xml from the pcgen directory and click Add
  8. Continuum will download the project
  9. Create a new schedule for the nightly build
  10. Add a new build definition. The goal should be clean:clean jar pcgen:package site:deploy and uses the nightly schedule
  11. Once the download has completed, manually start the build to test it