task

On this page
Back to index

Summary

A representation of task within a stage or gate.
projectName
Stringrequired
The name for the project that must be unique among all projects.
taskName
Stringrequired
The name of the task.
actionLabelText
Stringoptional
The JSON derived action label text.
actualParameters
Stringoptional
Actual parameters passed to an invoked subprocedure. (Alternate argument name actualParameter.)
advancedMode
Stringoptional
True to enable advanced mode so as to templatize snapshotName.
afterLastRetry
Stringoptional
Specify continue or stop pipeline execution after last unsuccessful retry or a task.
afterTask
Stringoptional
If specified, the task will be placed after the named task.
allowOutOfOrderRun
Stringoptional
If True, allow to run a task out of order.
allowSkip
Stringoptional
When enabled, manual task or gate rule can be skipped.
alwaysRun
Stringoptional
True means this task will run even if preceding tasks fail in a way that aborts the pipeline.
applicationName
Stringoptional
The name of the application used in sub task.
applicationProjectName
Stringoptional
Name for the project to which the application belongs to.
applicationVersion
Stringoptional
Application version to be deployed by a sub task.
approvers
Stringoptional
A list of task approvers who receive the notification. (Alternate argument name approver.)
artifacts
Stringoptional
If specified, the task will be placed before the named task.
beforeTask
Stringoptional
If specified, the task will be placed before the named task.
ciConfigurationName
Stringoptional
The CI configuration name.
ciControllerFolder
Stringoptional
Path to the folder on the CI controller referenced by the CloudBees Operation Center that contains the specified CI controller. Must be in format folder1/folder2/folder3/... .
ciControllerName
Stringoptionaldeprecated
Deprecated in favor of ciEndpoint argument.
Name of the CI controller. Deprecated in favor of ciEndpoint argument.
ciEndpoint
Stringoptional
Endpoint value configured for CI controller.
ciJobBranchName
Stringoptional
Name of the CI Job Branch.
ciJobFolder
Stringoptional
Path to the folder on the CI server referenced by the CI configuration that contains the specified CI job. Must be in format folder1/folder2/folder3/... .
ciJobName
Stringoptional
Name of the CI job.
clearActualParameters
Stringoptional
True if the task should remove all actual parameters.
clearHookActualParameters
Stringoptional
True if the task should remove all hook actual parameters.
clearHookStageSummaryParameters
Stringoptional
True if the task should remove all hook stage summary parameters.
clearOutOfOrderRunAssignees
Stringoptional
True if the task should clean up all outOfOrderRunAssignees.
clearStageSummaryParameters
Stringoptional
True if the task should remove all stage summary parameters.
command
Stringoptional
Command or script to execute for the task.
condition
Stringoptional
A fixed text or text embedding property references that is evaluated into a logical TRUE or FALSE. An empty string, a 0 or false is interpreted as FALSE. Any other result string is interpreted as TRUE.
customLabel
Stringoptional
Custom display name for sub pipelines or releases.
deployerExpression
Stringoptional
A fixed text or text embedding property references that is evaluated into a logical TRUE or FALSE. An empty string, a 0 or false is interpreted as FALSE. Any other result string is interpreted as TRUE.
deployerRunType
Stringoptional
The type of the deployer run for deployer type of task. If parallel then all applications are deployed in parallel.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
disableFailure
Stringoptional
True means a manual task cannot be failed.
duration
Stringoptional
Duration in minutes for which the stage or task should relative to plannedStartDate.
emailConfigName
Stringoptional
The name of the email configuration.
enabled
Stringoptional
True to enable the task.
environmentName
Stringoptional
Environment name to create from template.
environmentProjectName
Stringoptional
Name for the project to which the environment or environment template belongs to.
environmentTemplateName
Stringoptional
Environment template name.
environmentTemplateProjectName
Stringoptional
Name for the project to which the environment template belongs to.
errorHandling
Stringoptional
Specifies error handling for this task.
externalApplicationId
Stringoptionalpreview
This argument is in preview mode, and therefore subject to change.
Unique application identifier maintained by an external system. Used to identify applications deployed by CloudBees CD/RO pipelines within CloudBees Compliance.
firstTask
Stringoptional
True to make a task first in a stage.
gateCondition
Stringoptional
A fixed text or text embedding property references that is evaluated into a logical TRUE or FALSE. An empty string, a 0 or false is interpreted as FALSE. Any other result string is interpreted as TRUE.
gateType
Stringoptional
The type of the gate.
groupName
Stringoptional
The name of the group of task.
groupRunType
Stringoptional
The type of the sub task run for a group task. If serial then all tasks are run in serial, otherwise - in parallel (by default).
hookActualParameters
Stringoptional
The hook actual parameters passed to an invoked subprocedure. (Alternate argument name hookActualParameter.)
hookCommand
Stringoptional
The command for the hook procedure to execute as the last step.
hookProcedureName
Stringoptional
The name of the hook procedure to execute as the last step.
hookProjectName
Stringoptional
Name of the project, corresponding to the hook procedure name, to execute as the last step.
hookShell
Stringoptional
The shell for the hook command to execute as the last step.
hookStageSummaryParameters
Stringoptional
JSON representation of hook stage summary parameters and labels.
insertRollingDeployManualStep
Stringoptional
True to indicate a manual step to inject after each phase or batch.
instruction
Stringoptional
Instruction associated with the task.
keepOnError
Stringoptional
True to keep environment on error (default is false).
newName
Stringoptional
The new name for an existing object that is being renamed.
notificationEnabled
Stringoptional
True means this email notification is enabled, false otherwise.
notificationTemplate
Stringoptional
String containing email formatting instructions for generating notifications.
outOfOrderRunAssignees
Stringoptional
A list of users who can run a task out of order. (Alternate argument name outOfOrderRunAssignee.)
parallelToPrevious
Stringoptional
If TRUE, the flow state will be run in parallel to the previous flow state.
pipelineName
Stringoptional
The name of the pipeline.
plannedEndDate
Stringoptional
The date when this stage or task is expected to end.
plannedStartDate
Stringoptional
The date when this stage or task is expected to start.
postp
Stringoptional
This command runs in parallel with the main command for the task; it analyzes the log for the step and collects diagnostic information.
precondition
Stringoptional
A fixed text or text embedding property references that is evaluated into a logical TRUE or FALSE. An empty string, a 0 or false is interpreted as FALSE. Any other result string is interpreted as TRUE.
releaseManifest
Stringoptionalpreview
This argument is in preview mode, and therefore subject to change.
Components (artifacts or container images) that are being deployed in the release payload, specified in JSON format.
releaseName
Stringoptional
The name of the release.
requiredApprovalsCount
Stringoptional
The number of users from a group that should approve the task before it's considered as finally approved.
resourceName
Stringoptional
The name of the default resource for this task.
retryCount
Stringoptional
If the retry is auto, specify the maximum number of times retry should occur.
retryInterval
Stringoptional
If the retry is auto, specify the number of seconds to wait until the next retry should occur.
retryType
Stringoptional
Type of retry when process step or task fails. Is one of auto or manual.
rollingDeployEnabled
Stringoptional
Perform rolling deployment.
rollingDeployManualStepAssignees
Stringoptional
A list of assignees who receive the notification when rolling deploy iteration completes. (Alternate argument name rollingDeployManualStepAssignee.)
rollingDeployManualStepCondition
Stringoptional
Defines run condition on manual step created during rolling deployment. (Alternate argument name rollingDeployManualStepCondition.)
rollingDeployPhases
Stringoptional
One or more rolling deploy phases to be used for deployment. (Alternate argument name rollingDeployPhase.)
rolloutApprovers
Stringoptional
A list of rollout approvers. (Alternate argument name rolloutApprover.)
rolloutNotificationEnabled
Stringoptional
Rollout notification enabled (default is false).
shell
Stringoptional
The shell or command-line program to run the command block in.
skippable
Stringoptional
True if a task is skippable.
snapshotName
Stringoptional
Name of the snapshot associated with the application.
stageName
Stringoptional
Name of the stage to which this task belongs to.
stageSummaryParameters
Stringoptional
JSON representation of stage summary parameters and labels.
stagesToRun
Stringoptional
One or more stages to run in a pipeline. (Alternate argument name stagesToRun.)
startTime
Stringoptional
The time of day to begin invoking this task (24-hour clock, for example, 17:00).
startingStage
Stringoptional
The name of the starting stage.
subErrorHandling
Stringoptional
The impact of invoking pipeline run when sub-pipeline fails.
subTaskType
Stringoptional
The type of the sub task.
subapplication
Stringoptional
The name of the application that owns the subprocess.
subpipeline
Stringoptional
If referencing a pipeline, the name of the pipeline.
subpluginKey
Stringoptional
If referencing a procedure, the name of the procedure's pluginKey.
subprocedure
Stringoptional
If referencing a procedure, the name of the procedure.
subprocess
Stringoptional
The name of the process.
subproject
Stringoptional
If referencing a procedure, the name of the procedure's project.
subrelease
Stringoptional
If referencing a release, the name of the release.
subreleasePipeline
Stringoptional
The name of the pipeline to be used when attaching to the release instantiate from a release task.
subreleasePipelineProject
Stringoptional
The name of the project which contains the pipeline to the release instantiate from a release task.
subreleaseSuffix
Stringoptional
The suffix to be used when creating release.
subworkflowDefinition
Stringoptional
If referencing a workflow definition, the name of the workflow definition.
subworkflowStartingState
Stringoptional
The name of the starting state in the specified workflow definition.
taskProcessType
Stringoptional
The type of the process a task can invoke.
taskType
Stringoptionalpreview
A new `COMPLIANCE_CHECK` task type is in preview mode, and therefore subject to change.
The type of task.
tierResourceCounts
Stringoptional
Resource count per resource template tier. (Alternate argument name tierResourceCount.)
timeZone
Stringoptional
The time zone to use when interpreting times.
triggerType
Stringoptional
The type of trigger when invoking a sub-pipeline.
useApproverAcl
Stringoptional
True if after approve the authentication context of approving user should be added to the session.
waitForPlannedStartDate
Stringoptional
True to enable waiting for planned start date.
workspaceName
Stringoptional
The name of the workspace.

Usage

There are no usage examples available for task.