= Hudson Notes = == Quick Start == Use the following steps to set up a quick Hudson build that pulls bzrp4 from a local filesystem path and runs its selftest. 1. Download Hudson 1.255 from https://hudson.dev.java.net/servlets/ProjectDocumentList?folderID=2761&expandFolder=2761&folderID=0 2. Download/install Bazaar 1.8 Windows installer from https://launchpad.net/bzr/+download . Add Bazaar to PATH. 3. Download/install bzr-xmloutput from lp:bzr-xmloutput via bzr branch. See http://bazaar-vcs.org/XMLOutput . 4. java -jar hudson.war . Point browser at http://localhost:8080/ . Note: maybe need larger heap size. -Xmx1024m ? 5. Download Bazaar plugin for Hudson, bazaar.hpi, from http://verterok.com.ar/bzr-hudson/ . I used the version in the subdirectory 20081027-1. Install via Hudson web UI. 6. Verify Hudson finds Bazaar; no errors are displayed at Manage Hudson > Configure System > Bazaar. On Windows, using the Python (non-EXE) version of Bazaar, Bazaar command line executable = bzr.bat. 7. New Job in Hudson. Job name = bzrp4, e.g. Build a free-style software project. 8. Source Code Management > Bazaar. Branch URL = /home/mlm/sandbox/bzr-p4/bzr/continuous.integration.windows . I tried C:\home\... but it didn't work because Hudson's URL parsing rejected the URL containing backslashes. 9. Local branch directory = bzrp4 so that Bazaar can find the plugin with the right name. bzr selftest relies on loading the bzrp4 plugin from a path ending in "bzrp4". 10. Advanced > Clean copy. Select "If checked, Hudson will delete the directory and all its contents before downloading the files from the repository for every build." 11. Build Triggers > Poll SCM. Schedule = */3 * * * * . 12. Build > Add build step > Execute Windows batch command . Command = cd bzrp4 ci.selftest.bat
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#12 | 7092 | Matt McClure |
Converts all source files to UNIX line endings. bzr: revno 88.2.25, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Sat 2008-12-27 14:36:39 -0500 |
||
#11 | 7049 | Matt McClure |
Describes where to set name of Bazaar program. bzr: revno 84, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Wed 2008-11-26 07:36:32 -0500 |
||
#10 | 7007 | Matt McClure |
Merges from upstream branch. bzr: revno 69.2.4, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Sat 2008-11-01 23:31:43 -0400 |
||
#9 | 7003 | Matt McClure |
Snapshot. bzr: revno 69.2.1, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Sun 2008-08-10 10:47:26 -0400 |
||
#8 | 6994 | Matt McClure |
Deleted scratch notes. bzr: revno 72.1.14, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Thu 2008-10-30 21:09:26 -0400 |
||
#7 | 6993 | Matt McClure |
Tested a few more things. Updated steps to configure the Hudson job. bzr: revno 72.1.13, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Mon 2008-10-27 21:33:00 -0400 |
||
#6 | 6991 | Matt McClure |
Testing polling. bzr: revno 72.1.11, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Mon 2008-10-27 18:53:25 -0400 |
||
#5 | 6990 | Matt McClure |
Updated a few more out-of-date notes. bzr: revno 72.1.10, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Sun 2008-10-26 12:31:52 -0400 |
||
#4 | 6989 | Matt McClure |
Updated branch path to the one I'm actually using. bzr: revno 72.1.9, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Sun 2008-10-26 12:26:46 -0400 |
||
#3 | 6986 | Matt McClure |
Updated progress on CI. bzr: revno 72.1.6, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Sun 2008-10-26 11:56:33 -0400 |
||
#2 | 6983 | Matt McClure |
WIP: Adds a batch script for Hudson CI. bzr: revno 72.1.3, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Sun 2008-10-26 11:20:57 -0400 |
||
#1 | 6982 | Matt McClure |
Adds some notes regarding how I started to set up Hudson with bzr.dev as an example. bzr: revno 72.1.2, part 1 of 1 bzr: author Matt McClure <mlm@aya.yale.edu> bzr: committed Sun 2008-10-26 10:11:58 -0400 |