HTTP Callback Post-run Action

Performs an HTTP request at the end of a pipeline run. Use this action when you want to perform an HTTP request at the end of a pipeline run. For example, you may want to configure a pipeline so that a request is made to an alerts endpoint if the pipeline run failed.

Configuration

Property

Macro Enabled?

Description

Property

Macro Enabled?

Description

Run Condition

Yes

Optional. When to run the action. Must be one of completion, success, or failure.

If set to completion, the action will be executed regardless of whether the pipeline run succeeded or failed.

If set to success, the action will be executed only if the pipeline run succeeded.

If set to failure, the action will be executed only if the pipeline run failed.

Default is completion.

URL

Yes

Required. The URL to call.

HTTP Method

Yes

Required. The HTTP request method.

Default is POST.

Request Body

Yes

Optional. Request body.

Number of Retries

Yes

Optional. The number of times the request should be retried if the request fails.

Default is 0.

Should Follow Redirects

Yes

Optional. Whether to automatically follow redirects.

Default is true.

Request Headers

Yes

Optional. An optional string of header values to send in each request where the keys and values are delimited by a colon (":") and each pair is delimited by a newline ("\n").

connectTimeout

Yes

Optional. The time in milliseconds to wait for a connection. Set to 0 for infinite.

Default is 60000 (1 minute).