Jenkins

From Official Kodi Wiki
Revision as of 14:24, 6 April 2013 by >Martijn (→‎Jenkins)
Jump to navigation Jump to search

Template:DevsHeader

This page describes the "Jenkins" builder used by Team XBMC to build the variety of releases from Team XBMC

Jenkins

Jenkins start.jpg

Jenkins is the successor of Buildbot which was harder to maintain and Jenkins also offers a wide variety of plugin that can be used to benefit further development and testing.

When going to http://jenkins.xbmc.org you are shown the current frontpage like shown below and you start at the dashboard giving you several build statistics and overview of current used builders.


You also see tabs for each platform that contain specific builders for each one of those.

The helpers contains like the name says helpers that can aid in doing quick builds or uploading of XBMC releases.

Building

Building using Jenkins is only allowed by XBMC Team members. Team members that have XBMC git rights are allowed to use these builders.


Automated builds

Automated build are started at a specific time which can be configured at for each job. At the moment we use the job XBMC-BuildAll which is triggered by a timer. It starts the list of separate jobs listed below and by default will build the master branch from https://github.com/xbmc/xbmc

  • XBMC-Android-ARM
  • XBMC-IOS-ATV
  • XBMC-OSX-32
  • XBMC-OSX-64
  • XBMC-WIN-32

Timed builds are considered nightly builds and are uploaded to http://mirrors.xbmc.org/nightlies/

Starting manual build

To start a manual build to build a certain release or just for testing/compiling purpose you must use the XBMC-BuildAll job. By clicking on the XBMC-BuildAll job you get several options on the left side. Click on Start a new build. Now you get the following options:

  • Configuration [default/release/debug]
  • Revision [Branch/Tag/Commit]
  • Upload result (enable this to upload the finished build to http://mirrors.xbmc.org/test-builds/ )
  • Github repo (provide the repository from which you want to build)

Now hit Build. This will start all attached platform job using the configuration you provided.

You can also start a build for a specific platform using the same method as XBMC-BuildAll.

See also