Back to index
Summary
Creates a trigger error detail object.applicationNameStringoptionalThe name of the application. errorCodeStringoptionalError code. errorMessageStringoptionalError message. includeDetailsBooleanoptionalTrue to include details (default is false). pathStringoptionalProperty path string. pipelineNameStringoptionalThe name of the pipeline. procedureNameStringoptionalThe name of the procedure. projectNameStringoptionalThe name for the project that must be unique among all projects. releaseNameStringoptionalThe name of the release. scmSyncNameStringoptionalThe name of the scmSync. triggerNameStringoptionalThe name of the trigger. webhookHeadersStringoptionalJSON contains webhook headers. webhookPayloadStringoptionalJSON 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\"}\""});