Skip to main content
Jump to: navigation, search

Common Build Infrastructure/Getting Started/Build In Hudson/Bash Job

Draft Content
This page is currently under construction. Community members are encouraged to maintain the page, and make sure the information is accurate.

If you are running your job on, there is a generic script you can use to start up your build.

Hudson build parameters.png

The required input variables (either as Hudson parameters (This build is parameterized) or set in the Build > Execute Script textarea box) are:

   I (or N)
   (blank) or '-forceContextQualifier -fetchTag HEAD'
Hudson Execute Script.png

To use this script, I generally set this code in the Build > Execute Shell field of the Hudson job:

# configuration
export PROJRELENGROOT='-projRelengRoot'
export PROJRELENGPATH='-projRelengPath org.eclipse.FIXME/org.eclipse.FIXME/releng'
# set SNAPSHOT true if you want instead of, so downstream projects
# can more easily use your output as their input
#export SNAPSHOT="true"
# run the build
. /opt/public/cbi/build/org.eclipse.dash.common.releng/hudson/

See Also

Here are two template jobs used to quickly create a CVS-based Hudson job on

Back to the top