Back to index
Summary
Creates a newarchiveConnector
object.archiveConnectorNameStringrequiredUnique name of the archive connector. archiveDataFormatStringoptionalThe data format that the connector consumes the archived data in. Possible values: "JSON" , "XML" archiveScriptStringoptionalScript registered to connect to the archive system and store the data being archived. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. enabledBooleanoptionalWhether the connector is enabled. If true, then any previously enabled archive connector will be disabled. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createArchiveConnector( archiveConnectorName: "test-archiveConnectorName" /* optional arguments */ )