modifyRepository

Back to index

Summary

Modifies an existing artifact repository.
repositoryName
Stringrequired
The repository name.
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.
repositoryDisabled
Booleanoptional
Whether or not to disable the repository.
url
Stringoptional
The URL for contacting the repository. Enclose the IPV6 address in square brackets. Example: [<IPv6-ADDRESS>].
zoneName
Stringoptional
The zone name.

Usage

Perl

$cmdr->modifyRepository( "test-repositoryName" # repositoryName # optionals );

ectool

ectool modifyRepository \ "test-repositoryName" `# repositoryName` \ # optionals

Examples

Perl

$cmdr->modifyRepository("cmdrRepository", {newName => "flowRepository"});

ectool

ectool modifyRepository "cmdrRepository" --newName "flowRepository"