Back to index
Summary
Creates a newpersona
object.personaNameStringrequiredThe persona name. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. homePageNameStringoptionalThe default home page. isDefaultBooleanoptionalSet as default persona. personaDetailsStringoptionalThe details of the persona, if creating. |
Usage
Perl
$cmdr->createPersona( "test-personaName" # personaName # optionals );
ectool
ectool createPersona \ "test-personaName" `# personaName` \ # optionals
Examples
Persona detail example
This is an example on how to specify the value of the personaDetails
argument. It defines two persona categories, each with two persona pages. (Line breaks are added for readability). The personaPages
specified under a given category must be valid for that category.
[{"personaCategory":"releaseorchestration", "personaPages":["pipeline","release"]}, {"personaCategory":"deployment", "personaPages":["application","environment"]}]