Jump to: navigation, search

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

(Configure a job)
(Configure a job)
Line 21: Line 21:
 
* timing (how often should the build run? how often should it check CVS or SVN for changes?)
 
* timing (how often should the build run? how often should it check CVS or SVN for changes?)
 
* script to run, for example:
 
* script to run, for example:
:* '''[[Common_Build_Infrastructure/Getting_Started/Build_In_Hudson/Sample_Ant_Job|Ant script]]'''
+
:* '''[[Common_Build_Infrastructure/Getting_Started/Build_In_Hudson/Ant_Job|Ant script]]'''
:* '''[[Common_Build_Infrastructure/Getting_Started/Build_In_Hudson/Sample_Bash_Job|Bash script]]'''
+
:* '''[[Common_Build_Infrastructure/Getting_Started/Build_In_Hudson/Bash_Job|Bash script]]'''
 
* post-build steps
 
* post-build steps
 
* email notification on/off
 
* email notification on/off

Revision as of 15:29, 19 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, for example:
  • 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.

See Also