createProcedure

On this page
Back to index

Summary

Creates a new procedure for an existing project.
projectName
Stringrequired
The name for the project that must be unique among all projects.
procedureName
Stringrequired
Name for the procedure; must be unique within the project.
credentialName
Stringoptional
The name of a credential to attach to this procedure.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
jobNameTemplate
Stringoptional
Template used to determine the default name of jobs launched from a procedure.
resourceName
Stringoptional
The name of the default resource for this procedure.
timeLimit
Stringoptional
Maximum amount of time the step can execute; abort if it exceeds this time.
timeLimitUnits
Stringoptional
Units for step time limit: seconds, minutes, or hours.
Possible values: "hours", "minutes", "seconds"
workspaceName
Stringoptional
The name of the default workspace for this procedure.

Usage

Perl

$cmdr->createProcedure( "test-projectName", # projectName "test-procedureName" # procedureName # optionals );

ectool

ectool createProcedure \ "test-projectName" `# projectName` \ "test-procedureName" `# procedureName` \ # optionals