createWorkflowDefinition

Back to index

Summary

Creates a new workflow definition for a project.
projectName
Stringrequired
The name for the project that must be unique among all projects.
workflowDefinitionName
Stringrequired
The name of the workflow definition.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
workflowNameTemplate
Stringoptional
The template used to name instances of this workflow definition.

Usage

Perl

$cmdr->createWorkflowDefinition( "test-projectName", # projectName "test-workflowDefinitionName" # workflowDefinitionName # optionals );

ectool

ectool createWorkflowDefinition \ "test-projectName" `# projectName` \ "test-workflowDefinitionName" `# workflowDefinitionName` \ # optionals

Examples

Perl

$cmdr->createWorkflowDefinition("Default", "BTD", {description => "Production"});

ectool

ectool createWorkflowDefinition "Default" "BTD" --description "Production"