Skip to content
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.

Integration with jenkins hudson

hmalphettes edited this page Jun 16, 2011 · 2 revisions

Jenkins/Hudson integration

System Configuration

Define the environment variables: as documented here Requirement-and-installation. Do define the P2_RELEASE_HOME.

Job Configuration

Create a new job. Choose “Build a free-style software project” Configure the source control. If you use git, add a string parameter to the build called ‘GIT_BRANCH’. The documentation should be ‘branch to build’.

The build should contain one step: “Execute Shell” In this area use the following script:

bash $P2_RELEASE_HOME2/release.sh

That is all.

To be able to use the deployed p2 repositories, make sure that the value of the HTTPD_ROOT_PATH points to a folder that is served by an http server.