Skip to content
zamotivator edited this page Feb 20, 2012 · 14 revisions

Table of Contents

General information

If you developer of "Battle for Wesnoth" and wants receive access to Jenkins / Repository / Wiki please contact to Oleg Tsarev ([email protected]).

Common rules

  • DO NOT PUSH TO 'master' branch - this branch synced from main svn repository every minute and build automaticly by "svn" job in Jenkins.
  • Remove unused more links from repository
  • Use MediaWiki formwat for wiki pages
  • When you change the build scripts please edit "template" project (it used for "svn" and "param" jobs).

"param" build

Test your changes before submit to main repostiory.

  1. Request to include your to "developers" team
  2. Push your custom branch to repository
  3. Go to Jenkins:
    1. Login
    2. Click to param job.
    3. Click to "Build now"
    4. Type/Copy your branch name to the field "GITHUB_BRANCH"
  4. Profit

Add new member

  1. Go to 'Developers' team managment page
  2. Add %username% to team

Jenkins configuration

Description how to install/configure Jenkins

Required packages

Following packages should be installed to all machines in cluster

Debian/Ubuntu

apt-get install build-essential ccache cmake emacs23-nox git git-core git-svn htop iotop libboost-dev libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-test-dev libboost-thread-dev libdbus-1-dev libfribidi-dev libpango1.0-dev libsaxon-java libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev openjdk-6-jdk openjdk-6-jre pkg-config scons

Fedora

yum install boost-devel boost-test ccache cmake dbus-devel fribidi-devel gcc-c++ git-core git-svn htop iotop java-1.6.0-openjdk pango-devel saxon scons SDL_image-devel SDL_mixer-devel SDL_net-devel SDL_ttf-devel

Please also note: Fedora has problems with Scons and boost-threads. On Fedora you should add additional command-line argument when you call scons: "boost_suffix=-mt"

Master node

How to prepare master node (Debian)

Slave node

How to prepare slave node