Back to index
Summary
Modifies an existing artifact repository.repositoryNameStringrequiredThe repository name. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. newNameStringoptionalThe new name for an existing object that is being renamed. repositoryDisabledBooleanoptionalWhether or not to disable the repository. urlStringoptionalThe URL for contacting the repository. If using an IPv6 address, enclose the address in square brackets. Example: [<IPv6-ADDRESS>] .zoneNameStringoptionalThe 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 */ )