createTriggerErrorDetail

Back to index

Summary

Creates a trigger error detail object.
applicationName
Stringoptional
The name of the application.
errorCode
Stringoptional
Error code.
errorMessage
Stringoptional
Error message.
includeDetails
Booleanoptional
True to include details (default is false).
path
Stringoptional
Property path string.
pipelineName
Stringoptional
The name of the pipeline.
procedureName
Stringoptional
The name of the procedure.
projectName
Stringoptional
The name for the project that must be unique among all projects.
releaseName
Stringoptional
The name of the release.
scmSyncName
Stringoptional
The name of the scmSync.
triggerName
Stringoptional
The name of the trigger.
webhookHeaders
Stringoptional
JSON contains webhook headers.
webhookPayload
Stringoptional
JSON contains webhook payload.

Usage

Perl

$cmdr->createTriggerErrorDetail( # optionals );

ectool

ectool createTriggerErrorDetail \ # optionals

Examples

Perl

# for pipeline $cmdr->createTriggerErrorDetail( {projectName => "qe proj", pipelineName => "qe pipeline name", triggerName => "qe trigger 1", errorCode => "InvalidScript", errorMessage => "Invalid script at line 666", webhookHeaders => "\"{\"test\":\"test\"}\"", webhookPayload => "\"{\"aaa\": \"bbb\"}\""}); # for procedure $cmdr->createTriggerErrorDetail( {projectName => "qe proj", procedureName => "qe procedure", triggerName => "qe trigger 1", errorCode => "InvalidScript", errorMessage => "Invalid script at line 666", webhookHeaders => "\"{\"test\":\"test\"}\"", webhookPayload => "\"{\"aaa\": \"bbb\"}\""});

ectool

ectool createTriggerErrorDetail --projectName 'qe proj' --pipelineName 'qe pipeline' --triggerName 'qe trigger 1' --errorCode InvalidScript --errorMessage "Invalid script at line 666" --webhookHeaders "{\"test\":\"test\"}" --webhookPayload "{\"aaa\": \"bbb\"}"