Jump to: navigation, search

Polarsys/Infrastructure/SetupHudson

< Polarsys‎ | Infrastructure
Revision as of 11:29, 9 May 2012 by Loic.salvado.alyotech.fr (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hudson

The Polarsys' hudson server can be accessed here.

Accessing a project

On hudson's home page, click on the line corresponding to your project. This should open your project's page, and the menu on the left hand side of the screen should be limited to "build status" and "modifications".

Configuring a project

At this point, it is necessary to login in order to configure your project. Warning : the hudson login is not your e-mail address, but your git login. Once you have logged in, you should have access to a few more options, such as "Workspace", "Launch" and "Configure". Click on "Configure". On the project configuration page, fill in the fields according to your project's attributes (names, permissions, JDK…)

Configuring the project SCM

The most important part on this page is "Source Code Management", in which you have to select "Git", and type in a repository URL matching the pattern file:///gitroot/geneauto/geneauto.git

I guess that for polychrony, it will be file:///gitroot/polychrony/polychrony.git etc...

Hudson config.png

Running the build

As long as you're logged in, you can launch a build manually, clicking on "Build now". Hudson can also be programmed so that builds are run whenever SCM repository reports a commit, or at fixed date, for instance at 2:00 a.m. every night.

External documentation

More documentation on Hudson can be found at :