createRepository

Back to index

Summary

Creates a repository for one or more artifacts.
repositoryName
Stringrequired
The repository name.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
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->createRepository( "test-repositoryName" # repositoryName # optionals );

ectool

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

Examples

Perl

$cmdr->createRepository("myRepos", {repositoryDisabled => "true", url => "https://test.ecloud.com:8200"});

ectool

ectool createRepository myRepos --repositoryDisabled "true" --url "https://test.ecloud.com:8200"