modifyRepository

On this page
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. If using an IPv6 address, enclose the 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.modifyRepository( repositoryName: "test-repositoryName" /* optional arguments */ )