createScmSync
This command is a Preview feature. |
A Preview feature:
Product features and documentation are frequently updated. If you find an issue or have a suggestion, please contact CloudBees Support. |
Creates a new source code synchronization object.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
scmSyncName |
String |
(Required) Name of Scm Sync. |
branch |
String |
Branch |
configurationName |
String |
Configuration name. |
configurationProjectName |
String |
Configuration project name. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
destinationDir |
String |
Destination directory on the agent where local SCM repository will be located. |
excludeObjects |
Collection |
List of paths to the objects that should not be synchronized |
exportParameters |
Map |
List of export parameters. |
importParameters |
Map |
List of import parameters. |
includeObjects |
Collection |
List of paths to the objects that should be synchronized. |
relativePath |
String |
Relative path. |
repository |
String |
Scm repository. |
resourceName |
String |
Resource name. |
scmType |
ScmType |
Specify the type of SCM. |
syncType |
ScmSyncType |
Specify whether it’s a sync from SCM or to SCM. |
deleteScmSync
This command is a Preview feature. |
A Preview feature:
Product features and documentation are frequently updated. If you find an issue or have a suggestion, please contact CloudBees Support. |
Deletes a source code synchronization object.
getScmSync
This command is a Preview feature. |
A Preview feature:
Product features and documentation are frequently updated. If you find an issue or have a suggestion, please contact CloudBees Support. |
Retrieves a source code synchronization object by name.
getScmSyncs
This command is a Preview feature. |
A Preview feature:
Product features and documentation are frequently updated. If you find an issue or have a suggestion, please contact CloudBees Support. |
Retrieves all source code synchronization objects for the specified project.
modifyScmSync
This command is a Preview feature. |
A Preview feature:
Product features and documentation are frequently updated. If you find an issue or have a suggestion, please contact CloudBees Support. |
Modifies an existing source code synchronization object.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
scmSyncName |
String |
(Required) Name of Scm Sync. |
branch |
String |
Branch |
clearExcludeObjects |
Boolean |
Whether or not to clear exclude objects for this object. |
clearIncludeObjects |
Boolean |
Whether or not to clear include objects for this object. |
configurationName |
String |
Configuration name. |
configurationProjectName |
String |
Configuration project name. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
destinationDir |
String |
Destination directory on the agent where local SCM repository will be located. |
excludeObjects |
Collection |
List of paths to the objects that should not be synchronized |
exportParameters |
Map |
List of export parameters. |
importParameters |
Map |
List of import parameters. |
includeObjects |
Collection |
List of paths to the objects that should be synchronized. |
newName |
String |
The new name for an existing object that is being renamed. |
relativePath |
String |
Relative path. |
repository |
String |
Scm repository. |
resourceName |
String |
Resource name. |
scmType |
ScmType |
Specify the type of SCM. |
syncType |
ScmSyncType |
Specify whether it’s a sync from SCM or to SCM. |
triggerEnabled |
Boolean |
True if trigger configured and enabled, false otherwise. |
runScmSync
This command is a Preview feature. |
A Preview feature:
Product features and documentation are frequently updated. If you find an issue or have a suggestion, please contact CloudBees Support. |
Runs the specified source code synchronization object.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
scmSyncName |
String |
(Required) Name of Scm Sync. |
parsedWebhookData |
String |
JSON with parsed webhook data to be set on a pipeline/release/procedure run. |
webhookData |
String |
The webhook data to be set on the pipeline/release/procedure run. |
webhookHeaders |
String |
The webhook headers in JSON format to be set on the pipeline/release/procedure run. |