Back to index
Summary
Modifies an existing source code synchronization object.For a list of object types in CloudBees CD/RO, refer to Object types in CloudBees CD/RO. |
projectNameStringrequiredThe name for the project that must be unique among all projects. scmSyncNameStringrequiredName of SCM Sync. branchStringoptionalThe branch clearExcludeObjectsBooleanoptionalWhether or not to clear exclude objects for this object. clearIncludeObjectsBooleanoptionalWhether or not to clear include objects for this object. configurationNameStringoptionalConfiguration name. configurationProjectNameStringoptionalConfiguration project name. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. destinationDirStringoptionalDestination directory on the agent where local SCM repository will be located. excludeObjectArrayoptionalList of paths to the objects that should not be synchronized. exportParameterArrayoptionalList of export parameters. importParameterArrayoptionalList of import parameters. includeObjectArrayoptionalList of paths to the objects that should be synchronized. newNameStringoptionalThe new name for an existing object that is being renamed. relativePathStringoptionalRelative path. repositoryStringoptionalThe SCM repository. resourceNameStringoptionalResource name. scmTypeStringoptionalSpecify the type of SCM. Possible values: "git" syncTypeStringoptionalSpecify whether it's a sync from SCM or to SCM. Possible values: "fromScm" , "toScm" triggerEnabledBooleanoptionalTrue if trigger configured and enabled, false otherwise. |
Usage
Perl
$cmdr->modifyScmSync( "test-projectName", # projectName "test-scmSyncName" # scmSyncName # optionals );
ectool
ectool modifyScmSync \ "test-projectName" `# projectName` \ "test-scmSyncName" `# scmSyncName` \ # optionals