modifyTrigger

On this page
Back to index

Summary

Modifies an existing trigger.
projectName
Stringrequired
The name for the project that must be unique among all projects.
triggerName
Stringrequired
The name of the trigger.
actualParameters
Stringoptional
Actual parameters passed to the invoked object.
applicationName
Stringoptional
The name of the application that owns the trigger and the process that should be run.
clearActualParameters
Booleanoptional
Whether or not to clear actual parameters for this object.
clearPipelineParameters
Booleanoptional
Whether or not to clear pipeline parameters for the trigger.
credentialName
Stringoptional
The name of the credential to use for impersonation.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
enabled
Booleanoptional
True to enable the task.
environmentName
Stringoptional
The name of the environment used to determine where to run the process.
environmentProjectName
Stringoptional
Name for the project to which the environment or environment template belongs to.
environmentTemplateName
Stringoptional
The name of the environment template used to determine the environment where to run the process.
environmentTemplateProjectName
Stringoptional
Name for the project to which the environment template belongs to.
insertRollingDeployManualStep
Booleanoptional
True to indicate a manual step needs to be injected after each phase or batch.
newName
Stringoptional
The new name for an existing object that is being renamed.
pipelineName
Stringoptional
The name of the pipeline to run.
pipelineParameters
Stringoptional
Pipeline parameters used by a release schedule to override the default parameters configured in the release.
pluginKey
Stringoptional
The key of the plugin to be used for trigger integration with 3rd-party system.
pluginParameters
Stringoptional
List of plugin parameters.
procedureName
Stringoptional
The name of the procedure that owns the process to run.
processName
Stringoptional
The name of the application process to invoke.
quietTimeMinutes
Stringoptional
Specify how long in minutes should pass since last trigger event before the trigger will run.
releaseName
Stringoptional
The name of the release to run.
rollingDeployEnabled
Booleanoptional
Perform rolling deployment.
rollingDeployManualStepAssignees
Stringoptional
A list of assignees who receive the notification when rolling deploy iteration completes.
rollingDeployManualStepCondition
Stringoptional
Defines run condition on manual step created during rolling deployment.
Possible values: "always", "failure", "success"
rollingDeployPhases
Stringoptional
One or more rolling deploy phases to be used for deployment.
runDuplicates
Booleanoptional
Specify whether a trigger should be run if the previously triggered process is still running.
scmSyncName
Stringoptional
The name of the scmSync trigger belong to.
serviceAccountName
Stringoptional
The name of the service account associated with a webhook trigger.
snapshotName
Stringoptional
The name of the snapshot to be used to invoke the application process.
stagesToRun
Stringoptional
One or more stages to run in a pipeline.
tierResourceCounts
Stringoptional
Resource count per resource template tier.
triggerType
Stringoptional
A type of trigger.
Possible values: "polling", "webhook"
webhookName
Stringoptional
Webhook name.
webhookSecret
Stringoptional
Webhook secret.
webhookSecretCredentialName
Stringoptional
Webhook secret credential name.
webhookSecretCredentialProjectName
Stringoptional
Webhook secret credential project name.

Usage

Perl

$cmdr->modifyTrigger( "test-projectName", # projectName "test-triggerName" # triggerName # optionals );

ectool

ectool modifyTrigger \ "test-projectName" `# projectName` \ "test-triggerName" `# triggerName` \ # optionals