Difference between revisions of "Buildbot"
Line 24: | Line 24: | ||
Nevertheless, a developer must know the exact configure parameters and environment information when inspecting a build break. These information should be available through this page. | Nevertheless, a developer must know the exact configure parameters and environment information when inspecting a build break. These information should be available through this page. | ||
+ | The used configure call can be always obtained through a recent build log, but is summarized here for convenience. | ||
<table style="border: 1px solid black; padding: 10px"> | <table style="border: 1px solid black; padding: 10px"> | ||
Line 33: | Line 34: | ||
</td> | </td> | ||
<td>(no switches)</td> | <td>(no switches)</td> | ||
+ | <td></td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td valign="top"> | ||
+ | [http://termite.go-oo.org/buildbot/builders/MacIntel MacIntel] | ||
+ | </td> | ||
+ | <td>--with-use-shell=bash --disable-gtk --disable-build-mozilla</td> | ||
+ | <td></td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>[http://termite.go-oo.org/buildbot/builders/RedFlag RedFlag]</td> | ||
+ | <td>--with-java=yes --with-jdk-home=/usr/java/jdk1.5.0_16 --with-ant-home=/usr/lib/jvm/apache-ant-1.7.1 LDFLAGS=-L/usr/local/lib --with-x=yes --without-nas --without-fonts --with-system-stdlibs --with-package-format=rpm</td> | ||
<td></td> | <td></td> | ||
</tr> | </tr> |
Revision as of 10:52, 13 March 2009
A buildbot is now deployed for OpenOffice.org. http://buildbot.go-oo.org/
The Buildbot adaption for OOo is done in a separate project: http://code.google.com/p/ootermite/
From the Buildbot README: http://buildbot.sourceforge.net/
The BuildBot is a system to automate the compile/test cycle required by most software projects to validate code changes. By automatically rebuilding and testing the tree each time something has changed, build problems are pinpointed quickly, before other developers are inconvenienced by the failure. The guilty developer can be identified and harassed without human intervention. By running the builds on a variety of platforms, developers who do not have the facilities to test their changes everywhere before checkin will at least know shortly afterwards whether they have broken the build or not. Warning counts, lint checks, image size, compile time, and other build parameters can be tracked over time, are more visible, and are therefore easier to improve.
How to start a build
- Visit http://buildbot.go-oo.org/buildbot/
- Choose a machine you want to build on, and click on it
- Fill in the Your name, Reason for build, Branch to build (just the CWS name)
- If you want to have the resulting installation sets, check Install Set
- Press Force Build
- Wait until the installation sets appear in http://buildbot.go-oo.org/install_sets/ (if you wanted them)
If your build breaks it may be the Buildbot's fault as they are not perfect. If you are unsure feel free to contact the Buildslave's maintainer (contact address on the Builder's overview page). Generally speaking if the corresponding MWS builds fine a CWS break is the CWS' fault.
Slave system configurations
The Buildbot slaves do not build agains a specific baseline as they have varying operating systems and compilers. This was done by intention because we want as different systems as possible to get the OOo code robust and portable. You can of course use the builds for QAing, but do not espect reproducable results.
Nevertheless, a developer must know the exact configure parameters and environment information when inspecting a build break. These information should be available through this page. The used configure call can be always obtained through a recent build log, but is summarized here for convenience.
Slavename/Builder | configure switches | System information |
(no switches) | ||
--with-use-shell=bash --disable-gtk --disable-build-mozilla | ||
RedFlag | --with-java=yes --with-jdk-home=/usr/java/jdk1.5.0_16 --with-ant-home=/usr/lib/jvm/apache-ant-1.7.1 LDFLAGS=-L/usr/local/lib --with-x=yes --without-nas --without-fonts --with-system-stdlibs --with-package-format=rpm | |
Solaris-Intel | --enable-werror --enable-report-builder=no --disable-cups --disable-build-mozilla --disable-randr --with-gnu-patch=/usr/bin/gpatch --with-gnu-cp=/usr/sfw/bin/cp --with-ant-home=/usr/sfw --with-jdk-home=/usr/jdk/jdk1.5.0_16 --disable-pasf --with-ant-home=/space/termite/prereqs/apache-ant-1.7.0 --disable-mediawiki | |
Solaris-Sparc | --enable-report-builder=no --with-use-shell=bash --disable-cups --disable-build-mozilla --disable-randr --with-gnu-patch=/usr/bin/gpatch --with-gnu-cp=/opt/sfw/bin/cp --with-ant-home=/space/termite/apache-ant-1.7.0 --with-jdk-home=/usr/jdk/jdk1.5.0_12 --disable-pasf --with-epm=internal --with-ant-home=/space/termite/prereqs/apache-ant-1.7.0 --disable-mediawiki | |
--enable-werror --with-jdk-home=/usr/lib/jvm/java-6-sun | ||
--enable-werror | ||
Win-XP2 | --enable-report-builder=no --with-use-shell=bash '--with-midl-path=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Bin' '--with-psdk-home=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1' '--with-directx-home=/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK (February 2007)' --with-ant-home=/cygdrive/f/termite/prereqs/apache-ant-1.7.1 --disable-build-mozilla --disable-mediawiki --with-gpc --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727 '--with-jdk-home=/cygdrive/c/Program Files (x86)/Java/jdk1.5.0_11' --disable-activex '--with-frame-home=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/SDK/v2.0' '--with-cl-home=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC' --with-nsis-path=/cygdrive/c/termite/prereq/NSIS '--with-package-format=installed msi ddd' | WindowsXP Server with SP2 |