The ECSCM plugin contains the base code common to all SCM plugins. In addition, it provides the Continuous Integration (CI) checkout step procedure in CloudBees CD/RO, which you can use to perform SCM checkout using a CI configuration.
Setting up the plugin configuration
Plugin configurations are sets of parameters that apply across some or all of the plugin procedures. They reduce repetition of common values, create predefined sets of parameters for end users, and store credentials securely. Each configuration has a unique name that is automatically entered in designated parameters in the procedures.
Input
-
Go to Administration > Plugins to open the Plugin Manager.
-
Find the ECSCM row.
-
Click ECSCM to open the "Project Details/ECSCM-Version-number" page.
-
Click CreateConfiguration.
-
In the CreateConfiguration procedure, enter the following information and click Run.
Remember that you may need to create additional configurations later.
Plugin procedures
For all parameter descriptions in this document, required parameters are shown in bold italics. |
CICheckout
This procedure performs an SCM checkout using a Continuous Integration (CI) configuration.
Input
-
Go to the CICheckout procedure.
-
Enter the following parameters:
Parameter | Description |
---|---|
Project |
The name of the project where the operation runs. The default is $[/myJob/ec_ci_projectName]. |
CI Configuration |
The name of the CI configuration that you created. The default is $[/myJob/ec_ci_configurationName]. |
Preflight |
If this parameter is set to True, this is a prefight checkout step. The default is $[/myJob/ec_ci_preflight]. |
RunMethod
This procedure runs a method in the specified SCM plugin.
Release notes
ECSCM 2.3.3
-
The documentation has been migrated to the main documentation site.
-
Fixed a bug when disabled ECSCM-SentryMonitor schedule was enabling during plugin upgrade.
ECSCM 2.3.0
-
Sentry (CI) schedules now can handle Pipelines and Releases.
-
Support for WebHooks has been added.
ECSCM 2.2.10
-
Output job name in client preflight driver.
-
Fixed handling of EF server errors in Sentry driver.
ECSCM 2.2.6
-
Fix the issue where the ecscm_snapshot property sheet was not created during the CICheckout procedure.
ECSCM 2.2.3
-
Add an option for choosing a private key in the configuration editor.
-
Added new hooks in the afterRunMethod and beforeRunMethod procedures.
ECSCM 2.2.0
-
Add a way for ECSCM plugins to pass string replacements for all standard output (STDOUT) and standard error (STDERR) connections from external commands. These are usually used to mask passwords.
ECSCM 2.1.0
-
Add a post-process step called Check for New Sources to get errors when external commands are running and to get warnings when triggers are skipped.