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

Trigger Build via GET Request

You are viewing an old version (v. 1) of this page.
The latest version is v. 2, last edited on Mar 01, 2020 (view differences | )
view page history | view next version >>

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 
    
  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.

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