HTTP Status Task

Sends an HTTP request to the specified URL.


Available from version 1.5


Minimalist example

2  <httpRequest>
3    <uri></uri>
4  </httpRequest>

Full example

 2  <dynamicValues />
 3  <includeContent>False</includeContent>
 4  <httpRequest>
 5    <method>GET</method>
 6    <uri></uri>
 7    <useDefaultCredentials>false</useDefaultCredentials>
 8  </httpRequest>
 9  <retries>3</retries>
10  <successStatusCodes>200</successStatusCodes>

Configuration Elements

Element Description Type Required Default Version
description Description used for the visualisation of the buildstage, if left empty the process name will be shown. String No The task/publisher name. 1.5
dynamicValues The dynamic values to use for the task. Dynamic Values array No None 1.5
environment A set of environment variables set for commands that are executed.
Each variable should be specified as
1<variable name="name" value="value" />

Environment Variable array No
includeContent Whether to include the content of the call in the log. Boolean No false 1.5
httpRequest The request settings. HTTP Settings Yes n/a 1.5
retries The number of retries to allow. Int32 No 3 1.5
retryDelay Gets or sets the retry delay. Timeout Configuration No
successStatusCodes The list of exit codes that indicate success, separated by commas. String No 200 1.5
taskTimeout The timeout period to allow. Timeout Configuration No 5 seconds 1.5


Task supplied by Patrik Husfloen.

Automatically Generated

Documentation generated on Monday, 26 May 2014 at 7:18:04 AM