Jump to: navigation, search

Difference between revisions of "Common Build Infrastructure/Getting Started/Build In Hudson"

m (Configure a job)
m (Configure a job)
Line 23: Line 23:
 
* post-build steps
 
* post-build steps
 
* email notification on/off
 
* email notification on/off
* build parameters (to easily switch BUILDTYPE from a Nightly to an Integration, or to pass in EXTRAFLAGS - see [https://build.eclipse.org/hudson/view/Athena%20CBI/job/cbi-ve-1.4-nightly-Ganymede/ this example])
+
* build parameters (to easily switch BUILDTYPE from a Nightly to an Integration, or to pass in EXTRAFLAGS, for example:
 +
:* https://build.eclipse.org/hudson/view/Athena%20CBI/job/cbi-zzzTEMPLATE-nightly/
 +
:* https://build.eclipse.org/hudson/view/Athena%20CBI/job/cbi-zzzTEMPLATE-integration/
 
* JUnit results
 
* JUnit results
 
* other optional plugins, like [http://wiki.hudson-ci.org/display/HUDSON/Emotional+Hudson+Plugin Emotional Hudson] or [http://wiki.hudson-ci.org/display/HUDSON/The+Continuous+Integration+Game+plugin CI Game]
 
* other optional plugins, like [http://wiki.hudson-ci.org/display/HUDSON/Emotional+Hudson+Plugin Emotional Hudson] or [http://wiki.hudson-ci.org/display/HUDSON/The+Continuous+Integration+Game+plugin CI Game]

Revision as of 13:58, 9 October 2009

To run a job on build.eclipse.org with Hudson, you need to perform the following steps:

Request a job

Open a bug in Community > Hudson requesting your new job be created. Here are some examples.

You must provide the following details:

  • generally, name is build_system-project_name-version-qualifier, where qualifier could be "nightly", "release", or the Eclipse version used

Configure a job

Once your job is created (probably from a template), go to https://build.eclipse.org/hudson/view/Athena%20CBI/, log in using your committerid (link in top right corner), then select your job. Click 'Configure' from the menu on the left to edit your job.

You will want to configure the following items:

  • cleanup rules for old successful/failed builds
  • CVS/SVN source
  • timing (how often should the build run? how often should it check CVS or SVN for changes?)
  • script to run (bash, ant)
  • post-build steps
  • email notification on/off
  • build parameters (to easily switch BUILDTYPE from a Nightly to an Integration, or to pass in EXTRAFLAGS, for example:

Run a job

To run a job, wait until the next scheduled time according to your configuration, or click 'Build Now' from the menu on the left of your job's page.