createRepository

On this page
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

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createRepository( repositoryName: "test-repositoryName" /* optional arguments */ )