Skip to end of banner
Go to start of banner

createPlan

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 71 Current »

See also: Actions

Description

Create a new plan. Provide a 2-part plan key where the first part is the project key. If the project key does not exist, it will be created with the provided project name. Use continue to ignore the request if the plan already exists. Use replace to replace an existing plan, which, by default, follows a move, delete, create scenario. Use '--options clear' to modify the replace scenario to only clearing most plan constructs so they can be reconstructed later. Use '--options addDefaultJob' to automatically add a default stage and job to the plan similar to creating a plan from the UI. Use '--options removeTrigger' to automatically remove the default polling trigger added when the repository parameter is specified. See the documentation on Plan Creation Scripting for more details.

Required Parameters

plan

Optional Parameters

name, projectName, description, repository, disable, replace, continue, options

Type

Create

Category

Plans

Output Formats

Replacement Variables

project, projectName, plan, planName

Since Version

Examples

createPlan

Related How To's

  • No labels