Edgewall Software

Changes between Version 4 and Version 5 of Master Slave Protocol


Ignore:
Timestamp:
Jun 17, 2005, 1:24:18 AM (19 years ago)
Author:
cmlenz
Comment:

Build requests

Legend:

Unmodified
Added
Removed
Modified
  • Master Slave Protocol

    v4 v5  
    4242When the build server detects that builds are necessary for some revision of the project, it queries its database of available slaves and chooses a set of slaves with non-overlapping configurations. For example, if there are 10 clients available that could execute the build of a Java project on Windows 2000 with JDK 1.4, it will only select one of those to actually perform the build.
    4343
    44 A build request
     44A build request might look like this (the text is optional and only provided for diagnostic purposes):
    4545{{{
    4646  MSG 1 1 . 0 78
    4747  Content-Type: application/beep+xml
    4848 
    49   <build config="trunk"/>
     49  <build>trunk as of revision 492</build>
    5050  END
    5151}}}
    5252
    53 A client can decline a build request (or even abort a build), in which case the build master selects the next available client with the same (or sufficiently similar) configuration.
     53A client can decline a build request, in which case the build master selects the next available client with the same (or sufficiently similar) configuration.
    5454
    55 If the client accepts a build request, the server will transmit a tarball of the code base that is to be built. The client does not need to know which exact revision (or branch) of the project it is building, nor does it need to perform a checkout itself.
     55If the client accepts a build request by sending a positive reply, the server will transmit a tarball of the code base that is to be built. The client does not need to know which exact revision (or branch) of the project it is building, nor does it need to perform a checkout itself.
    5656
    5757{{{