modifyCIConfiguration

Back to index

Summary

Modifies an existing CI server configuration.
ciConfigurationName
Stringrequired
The name of the CI configuration.
ciConfigurationType
Stringoptional
The type of CI configuration.
Possible values: "CB_OPS_CENTER", "CI_CONTROLLER", "CI_OPS_CENTER"
credentialName
Stringoptional
The name of the credential.
credentialProjectName
Stringoptional
The name of the project containing specified credential.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
isDefault
Booleanoptional
Set as default CI Configuration.
newName
Stringoptional
The new name for an existing object that is being renamed.
overrideDefault
Booleanoptional
If true, the isDefault flag is overwritten for the existing, default CI configuration.
password
Stringoptional
The password for authenticating with the CI server.
publicKey
Stringoptional
Public key for the CI controller. Use this argument to specify the public key for the CI controller if the server is unable to retrieve the controller's public key due to network topology.
serverUrl
Stringoptional
URL to connect to the CI server. If using an IPv6 address, enclose the address in square brackets. Example: [<IPv6-ADDRESS>].
testConnection
Booleanoptional
Specifies if the connection to the CI server should be tested before saving the configuration. The default is false.
userName
Stringoptional
The user name for authenticating with the CI server.

Usage

Perl

$cmdr->modifyCIConfiguration( "test-ciConfigurationName" # ciConfigurationName # optionals );

ectool

ectool modifyCIConfiguration \ "test-ciConfigurationName" `# ciConfigurationName` \ # optionals

Examples

Perl

$cmdr->modifyCIConfiguration ( ciConfigurationName => "CI Build Demo", serverURL => "www.example.com/CIServer", userName => "joe", password => "apassword" );

ectool

ectool modifyCIConfiguration 'CI Build Demo' --serverURL 'www.example.com/CIServer' --userName 'joe' --password 'apassword'