modifyWorkflowDefinition

Back to index

Summary

Modifies an existing workflow definition.
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.
newName
Stringoptional
The new name for an existing object that is being renamed.
workflowNameTemplate
Stringoptional
The template used to name instances of this workflow definition.

Usage

Perl

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

ectool

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

Examples

Perl

$cmdr->modifyWorkflowDefinition("Default", "BTD", {newName => "Build Test Deploy", description => "changed name"});

ectool

ectool modifyWorkflowDefinition "Default" "BTD" --newName "Build Test Deploy" --description "changed name"