Back to index
Summary
Creates a repository for one or more artifacts.repositoryNameStringrequiredThe repository name. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. 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.createRepository( repositoryName: "test-repositoryName" /* optional arguments */ )