James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 1 | :title: Launchers |
| 2 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 3 | .. _Gearman: http://gearman.org/ |
Antoine Musso | d06f2a6 | 2012-11-16 17:40:58 +0100 | [diff] [blame] | 4 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 5 | .. _`Gearman Plugin`: |
| 6 | https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin |
| 7 | |
| 8 | .. _launchers: |
Antoine Musso | d06f2a6 | 2012-11-16 17:40:58 +0100 | [diff] [blame] | 9 | |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 10 | Launchers |
| 11 | ========= |
| 12 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 13 | Zuul has a modular architecture for launching jobs. Currently, the |
| 14 | only supported module interfaces with Gearman_. This design allows |
| 15 | any system to run jobs for Zuul simply by interfacing with a Gearman |
| 16 | server. The recommended way of integrating a new job-runner with Zuul |
| 17 | is via this method. |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 18 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 19 | If Gearman is unsuitable, Zuul may be extended with a new launcher |
| 20 | module. Zuul makes very few assumptions about the interface to a |
| 21 | launcher -- if it can trigger jobs, cancel them, and receive success |
| 22 | or failure reports, it should be able to be used with Zuul. Patches |
| 23 | to this effect are welcome. |
| 24 | |
| 25 | Gearman |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 26 | ------- |
| 27 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 28 | Gearman_ is a general-purpose protocol for distributing jobs to any |
| 29 | number of workers. Zuul works with Gearman by sending specific |
| 30 | information with job requests to Gearman, and expects certain |
| 31 | information to be returned on completion. This protocol is described |
| 32 | in `Zuul-Gearman Protocol`_. |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 33 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 34 | The `Gearman Jenkins Plugin`_ makes it easy to use Jenkins with Zuul |
| 35 | by providing an interface between Jenkins and Gearman. In this |
| 36 | configuration, Zuul asks Gearman to run jobs, and Gearman can then |
| 37 | distribute those jobs to any number of Jenkins systems (including |
| 38 | multiple Jenkins masters). |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 39 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 40 | In order for Zuul to run any jobs, you will need a running Gearman |
James E. Blair | 77cc7b8 | 2013-07-15 13:22:37 -0700 | [diff] [blame] | 41 | server. Zuul includes a Gearman server, and it is recommended that it |
| 42 | be used as it supports the following features needed by Zuul: |
| 43 | |
| 44 | * Canceling jobs in the queue (admin protocol command "cancel job"). |
| 45 | * Strict FIFO queue operation (gearmand's round-robin mode may be |
| 46 | sufficient, but is untested). |
| 47 | |
| 48 | To enable the built-in server, see the ``gearman_server`` section of |
| 49 | ``zuul.conf``. Be sure that the host allows connections from Zuul and |
| 50 | any workers (e.g., Jenkins masters) on TCP port 4730, and nowhere else |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 51 | (as the Gearman protocol does not include any provision for |
Michael Prokop | 526926a | 2013-10-24 16:16:57 +0200 | [diff] [blame] | 52 | authentication). |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 53 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 54 | Gearman Jenkins Plugin |
| 55 | ---------------------- |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 56 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 57 | The `Gearman Plugin`_ can be installed in Jenkins in order to |
| 58 | facilitate Jenkins running jobs for Zuul. Install the plugin and |
| 59 | configure it with the hostname or IP address of your Gearman server |
| 60 | and the port on which it is listening (4730 by default). It will |
| 61 | automatically register all known Jenkins jobs as functions that Zuul |
| 62 | can invoke via Gearman. |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 63 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 64 | Any number of masters can be configured in this way, and Gearman will |
| 65 | distribute jobs to all of them as appropriate. |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 66 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 67 | No special Jenkins job configuration is needed to support triggering |
| 68 | by Zuul. |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 69 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 70 | Zuul Parameters |
| 71 | --------------- |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 72 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 73 | Zuul will pass some parameters with every job it launches. The |
| 74 | Gearman Plugin will ensure these are supplied as Jenkins build |
| 75 | parameters, so they will be available for use in the job configuration |
Antoine Musso | e0f5bb4 | 2014-03-04 11:30:37 +0100 | [diff] [blame] | 76 | as well as to the running job as environment variables. Builds can |
| 77 | be triggered either by an action on a change or by a reference update. |
| 78 | Both events share a common set of parameters and more specific |
| 79 | parameters as follows: |
| 80 | |
| 81 | Common parameters |
| 82 | ~~~~~~~~~~~~~~~~~ |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 83 | |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 84 | **ZUUL_UUID** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 85 | Zuul provided key to link builds with Gerrit events. |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 86 | **ZUUL_REF** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 87 | Zuul provided ref that includes commit(s) to build. |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 88 | **ZUUL_COMMIT** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 89 | The commit SHA1 at the head of ZUUL_REF. |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 90 | **ZUUL_PROJECT** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 91 | The project that triggered this build. |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 92 | **ZUUL_PIPELINE** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 93 | The Zuul pipeline that is building this job. |
Arx Cruz | b1b010d | 2013-10-28 19:49:59 -0200 | [diff] [blame] | 94 | **ZUUL_URL** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 95 | The URL for the zuul server as configured in zuul.conf. |
Joshua Hesketh | ba8776a | 2014-01-12 14:35:40 +0800 | [diff] [blame] | 96 | A test runner may use this URL as the basis for fetching |
Arx Cruz | b1b010d | 2013-10-28 19:49:59 -0200 | [diff] [blame] | 97 | git commits. |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 98 | |
Antoine Musso | e0f5bb4 | 2014-03-04 11:30:37 +0100 | [diff] [blame] | 99 | Change related parameters |
| 100 | ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 101 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 102 | The following additional parameters will only be provided for builds |
| 103 | associated with changes (i.e., in response to patchset-created or |
| 104 | comment-added events): |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 105 | |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 106 | **ZUUL_BRANCH** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 107 | The target branch for the change that triggered this build. |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 108 | **ZUUL_CHANGE** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 109 | The Gerrit change ID for the change that triggered this build. |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 110 | **ZUUL_CHANGE_IDS** |
| 111 | All of the Gerrit change IDs that are included in this build (useful |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 112 | when the DependentPipelineManager combines changes for testing). |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 113 | **ZUUL_PATCHSET** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 114 | The Gerrit patchset number for the change that triggered this build. |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 115 | |
Antoine Musso | e0f5bb4 | 2014-03-04 11:30:37 +0100 | [diff] [blame] | 116 | Reference updated parameters |
| 117 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 118 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 119 | The following additional parameters will only be provided for |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 120 | post-merge (ref-updated) builds: |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 121 | |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 122 | **ZUUL_OLDREV** |
| 123 | The SHA1 of the old revision at this ref (recall the ref name is |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 124 | in ZUUL_REF). |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 125 | **ZUUL_NEWREV** |
| 126 | The SHA1 of the new revision at this ref (recall the ref name is |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 127 | in ZUUL_REF). |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 128 | **ZUUL_SHORT_OLDREV** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 129 | The shortened (7 character) SHA1 of the old revision. |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 130 | **ZUUL_SHORT_NEWREV** |
Łukasz Jernaś | 048acb4 | 2014-03-02 18:49:41 +0100 | [diff] [blame] | 131 | The shortened (7 character) SHA1 of the new revision. |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 132 | |
Antoine Musso | e0f5bb4 | 2014-03-04 11:30:37 +0100 | [diff] [blame] | 133 | Unset revisions default to 00000000000000000000000000000000. |
| 134 | |
| 135 | Examples: |
| 136 | |
| 137 | When a reference is created:: |
| 138 | |
| 139 | ZUUL_OLDREV=00000000000000000000000000000000 |
| 140 | ZUUL_NEWREV=123456789abcdef123456789abcdef12 |
| 141 | ZUUL_SHORT_OLDREV=0000000 |
| 142 | ZUUL_SHORT_NEWREV=1234567 |
| 143 | |
| 144 | When a reference is deleted:: |
| 145 | |
| 146 | ZUUL_OLDREV=123456789abcdef123456789abcdef12 |
| 147 | ZUUL_NEWREV=00000000000000000000000000000000 |
| 148 | ZUUL_SHORT_OLDREV=1234567 |
| 149 | ZUUL_SHORT_NEWREV=0000000 |
| 150 | |
| 151 | And finally a reference being altered:: |
| 152 | |
| 153 | ZUUL_OLDREV=123456789abcdef123456789abcdef12 |
| 154 | ZUUL_NEWREV=abcdef123456789abcdef123456789ab |
| 155 | ZUUL_SHORT_OLDREV=1234567 |
| 156 | ZUUL_SHORT_NEWREV=abcdef1 |
| 157 | |
| 158 | Your jobs can check whether the parameters are ``000000`` to act |
| 159 | differently on each kind of event. |
| 160 | |
| 161 | Jenkins git plugin configuration |
| 162 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 163 | |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 164 | In order to test the correct build, configure the Jenkins Git SCM |
| 165 | plugin as follows:: |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 166 | |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 167 | Source Code Management: |
| 168 | Git |
| 169 | Repositories: |
| 170 | Repository URL: <your Gerrit or Zuul repository URL> |
| 171 | Advanced: |
| 172 | Refspec: ${ZUUL_REF} |
| 173 | Branches to build: |
| 174 | Branch Specifier: ${ZUUL_COMMIT} |
James E. Blair | e281901 | 2013-06-28 17:17:26 -0400 | [diff] [blame] | 175 | Advanced: |
| 176 | Clean after checkout: True |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 177 | |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 178 | That should be sufficient for a job that only builds a single project. |
| 179 | If you have multiple interrelated projects (i.e., they share a Zuul |
| 180 | Change Queue) that are built together, you may be able to configure |
| 181 | the Git plugin to prepare them, or you may chose to use a shell script |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 182 | instead. As an example, the OpenStack project uses the following |
| 183 | script to prepare the workspace for its integration testing: |
James E. Blair | 81515ad | 2012-10-01 18:29:08 -0700 | [diff] [blame] | 184 | |
K Jonathan Harker | 97e457e | 2013-02-26 13:29:38 -0800 | [diff] [blame] | 185 | https://github.com/openstack-infra/devstack-gate/blob/master/devstack-vm-gate-wrap.sh |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 186 | |
| 187 | |
| 188 | Zuul-Gearman Protocol |
| 189 | --------------------- |
| 190 | |
| 191 | This section is only relevant if you intend to implement a new kind of |
| 192 | worker that runs jobs for Zuul via Gearman. If you just want to use |
| 193 | Jenkins, see `Gearman Jenkins Plugin`_ instead. |
| 194 | |
| 195 | The Zuul protocol as used with Gearman is as follows: |
| 196 | |
| 197 | Starting Builds |
| 198 | ~~~~~~~~~~~~~~~ |
| 199 | |
| 200 | To start a build, Zuul invokes a Gearman function with the following |
| 201 | format: |
| 202 | |
| 203 | build:FUNCTION_NAME |
| 204 | |
| 205 | where **FUNCTION_NAME** is the name of the job that should be run. If |
| 206 | the job should run on a specific node (or class of node), Zuul will |
| 207 | instead invoke: |
| 208 | |
| 209 | build:FUNCTION_NAME:NODE_NAME |
| 210 | |
| 211 | where **NODE_NAME** is the name or class of node on which the job |
| 212 | should be run. This can be specified by setting the ZUUL_NODE |
Antoine Musso | 7c5db97 | 2013-09-26 11:48:26 +0200 | [diff] [blame] | 213 | parameter in a parameter-function (see :ref:`includes` section in |
| 214 | :ref:`zuulconf`). |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 215 | |
| 216 | Zuul sends the ZUUL_* parameters described in `Zuul Parameters`_ |
| 217 | encoded in JSON format as the argument included with the |
| 218 | SUBMIT_JOB_UNIQ request to Gearman. A unique ID (equal to the |
| 219 | ZUUL_UUID parameter) is also supplied to Gearman, and is accessible as |
| 220 | an added Gearman parameter with GRAB_JOB_UNIQ. |
| 221 | |
| 222 | When a Gearman worker starts running a job for Zuul, it should |
| 223 | immediately send a WORK_DATA packet with the following information |
| 224 | encoded in JSON format: |
| 225 | |
James E. Blair | 3c483cf | 2013-06-04 16:30:43 -0700 | [diff] [blame] | 226 | **name** |
| 227 | The name of the job. |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 228 | |
| 229 | **number** |
| 230 | The build number (unique to this job). |
| 231 | |
James E. Blair | 3c483cf | 2013-06-04 16:30:43 -0700 | [diff] [blame] | 232 | **manager** |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 233 | A unique identifier associated with the Gearman worker that can |
| 234 | abort this build. See `Stopping Builds`_ for more information. |
| 235 | |
James E. Blair | 3c483cf | 2013-06-04 16:30:43 -0700 | [diff] [blame] | 236 | **url** (optional) |
| 237 | The URL with the status or results of the build. Will be used in |
| 238 | the status page and the final report. |
| 239 | |
Joshua Hesketh | ba8776a | 2014-01-12 14:35:40 +0800 | [diff] [blame] | 240 | To help with debugging builds a worker may send back some optional |
| 241 | metadata: |
| 242 | |
| 243 | **worker_name** (optional) |
| 244 | The name of the worker. |
| 245 | |
| 246 | **worker_hostname** (optional) |
| 247 | The hostname of the worker. |
| 248 | |
| 249 | **worker_ips** (optional) |
| 250 | A list of IPs for the worker. |
| 251 | |
| 252 | **worker_fqdn** (optional) |
| 253 | The FQDN of the worker. |
| 254 | |
| 255 | **worker_program** (optional) |
| 256 | The program name of the worker. For example Jenkins or turbo-hipster. |
| 257 | |
| 258 | **worker_version** (optional) |
| 259 | The version of the software running the job. |
| 260 | |
| 261 | **worker_extra** (optional) |
| 262 | A dictionary of any extra metadata you may want to pass along. |
| 263 | |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 264 | It should then immediately send a WORK_STATUS packet with a value of 0 |
| 265 | percent complete. It may then optionally send subsequent WORK_STATUS |
| 266 | packets with updated completion values. |
| 267 | |
| 268 | When the build is complete, it should send a final WORK_DATA packet |
| 269 | with the following in JSON format: |
| 270 | |
| 271 | **result** |
| 272 | Either the string 'SUCCESS' if the job succeeded, or any other value |
| 273 | that describes the result if the job failed. |
| 274 | |
| 275 | Finally, it should send either a WORK_FAIL or WORK_COMPLETE packet as |
| 276 | appropriate. A WORK_EXCEPTION packet will be interpreted as a |
| 277 | WORK_FAIL, but the exception will be logged in Zuul's error log. |
| 278 | |
| 279 | Stopping Builds |
| 280 | ~~~~~~~~~~~~~~~ |
| 281 | |
| 282 | If Zuul needs to abort a build already in progress, it will invoke the |
| 283 | following function through Gearman: |
| 284 | |
James E. Blair | 3c483cf | 2013-06-04 16:30:43 -0700 | [diff] [blame] | 285 | stop:MANAGER_NAME |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 286 | |
James E. Blair | 3c483cf | 2013-06-04 16:30:43 -0700 | [diff] [blame] | 287 | Where **MANAGER_NAME** is the name of the manager worker supplied in |
| 288 | the initial WORK_DATA packet when the job started. This is used to |
| 289 | direct the stop: function invocation to the correct Gearman worker |
| 290 | that is capable of stopping that particular job. The argument to the |
| 291 | function should be the following encoded in JSON format: |
| 292 | |
| 293 | **name** |
| 294 | The job name of the build to stop. |
| 295 | |
| 296 | **number** |
| 297 | The build number of the build to stop. |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 298 | |
| 299 | The original job is expected to complete with a WORK_DATA and |
| 300 | WORK_FAIL packet as described in `Starting Builds`_. |
| 301 | |
| 302 | Build Descriptions |
| 303 | ~~~~~~~~~~~~~~~~~~ |
| 304 | |
| 305 | In order to update the job running system with a description of the |
| 306 | current state of all related builds, the job runner may optionally |
| 307 | implement the following Gearman function: |
| 308 | |
James E. Blair | 3c483cf | 2013-06-04 16:30:43 -0700 | [diff] [blame] | 309 | set_description:MANAGER_NAME |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 310 | |
James E. Blair | 3c483cf | 2013-06-04 16:30:43 -0700 | [diff] [blame] | 311 | Where **MANAGER_NAME** is used as described in `Stopping Builds`_. |
| 312 | The argument to the function is the following encoded in JSON format: |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 313 | |
James E. Blair | 3c483cf | 2013-06-04 16:30:43 -0700 | [diff] [blame] | 314 | **name** |
| 315 | The job name of the build to describe. |
| 316 | |
| 317 | **number** |
| 318 | The build number of the build to describe. |
James E. Blair | 1f4c2bb | 2013-04-26 08:40:46 -0700 | [diff] [blame] | 319 | |
| 320 | **html_description** |
| 321 | The description of the build in HTML format. |