Jenkins: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Martijn
>Memphiz
No edit summary
Line 11: Line 11:
== Building ==
== Building ==


Building using Jenkins is only allowed by XBMC Team members. Team members that have XBMC git rights are allwoed to use these builders.
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 builds ===


Automated build are started at a specific time which can be configured at for each builder.
Automated build are started at a specific time which can be configured at for each job.
At the moment we use builder '''XBMC-BuildAll''' which is trigger by a timer.
At the moment we use the job '''XBMC-BuildAll''' which is triggered by a timer.
It starts the list of separate builders listed below and by default will build the '''master''' branch from https://github.com/xbmc/xbmc
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-Android-ARM
* XBMC-IOS-ATV
* XBMC-IOS-ATV
Line 29: Line 29:
== Starting manual build ==
== 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''' builder.
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''' builder you get several options on the left side. Click on '''Start a new build'''.
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:
Now you get the following options:
* Configuration [default/release/debug]
* Configuration [default/release/debug]
Line 37: Line 37:
* Github repo (provide the repository from which you want to build)
* Github repo (provide the repository from which you want to build)


Now hit '''Build'''. This will start all attached platform builders using the configuration you provided.
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'''.
You can also start a build for a specific platform using the same method as '''XBMC-BuildAll'''.

Revision as of 09:00, 4 April 2013

Template:DevsHeader

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

Jenkins

http://jenkins.xbmc.org

Jenkins is the successor of Buildbot which was harder to maintain.

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