This documentation relates to QuickBuild 11.0.x
Select here if you are using a different version

Trigger Build via GET Request

Build can be triggered by posting build request as described in page Interact with Build Requests. Sometimes it is useful to trigger build via GET request, and here is how:

  1. Create a build request XML file, say request.xml Refer to request new build section of Interact with Build Requests on how to create build request XML
  2. Base64 and urlencode the xml file
    base64 request.xml | xargs urlencode 
    

    On Ubuntu, you will need to call sudo apt install gridsite-clients if urlencode is not available

  3. Trigger build via below url:
    http://localhost:8810/rest/trigger?build_request=<output of above step>
    

    You will need to use http BASIC authentication to login as authorized QuickBuild user if the anonymous does not have RUN_BUILD permission for the requested configuration.

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.