Connect the MicroSoft Team Foundation Server (TFS) source control server to CloudBees CD/RO for code checkouts, preflight builds, and continuous integration. With this plugin, you can have different configurations, such as the preflight and sentry functions, that would be difficult to implement without it.
IMPORTANT: TFS must be installed and must be accessible from the command line. If you do not want to include TFS in the PATH variable, you must specify the TFS binary path.
This plugin was developed and tested against MicroSoft Team Foundation Server v2013.
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.
| Parameter | Description |
|---|---|
Configuration Name |
The name of the SCM configuration. |
Description |
The description of the configuration. CloudBees CD/RO does not use this information. |
Login As |
Username: The username that CloudBees CD/RO uses to communicate with the TFS server. Password: Provide the password for the Username. Retype Password: Re-enter the password. |
TFS binary path |
Path to TFS binary when it is not
included in |
The Source Control Configurations page now shows the new TFS configuration.
This procedure downloads (checks out) a copy of the code from the TFS server to the specified machine.
If you specify both the Collection URL and Server Hostname parameters, a warning message appears, and the plugin tries to use the Server Hostname parameter because it also works on MicroSoft Visual Studio 2010.
If you do not specify values for these parameters, nothing is downloaded to the specified machine, and an error message appears.
The procedure upon completion populates a property sheet called
ecscm_changelogs, which contains the changes included in this checkout
since the latest.
-
Go to the CheckoutCode procedure.
-
Enter the following parameters:
After the job runs, you can view the results on the Job Details page. In the CheckoutCode step, select the Log icon for diagnostic information.
Use this procedure for Continuous Integration. It monitors the repository to discover when something changes and to trigger a preconfigured procedure.
-
Go to the getSCMTag procedure.
-
Enter the following parameters:
After the job runs, you can view the results on the Job Details page. In the getSCMTag step, select the Log icon for diagnostic information.
The Preflight procedure runs the agent part of the preflight workflow.
-
Go to the Preflight procedure.
-
Enter the following parameters:
After the job runs, you can view the results on the Job Details page. In the Preflight step, select the Log icon for diagnostic information.
This procedure runs the client part of the preflight workflow.
- Enter the following parameters:
See the client application for details.
If the job outcome is successful, update the last successful snapshot property to the revision used in the job.
-
Go to the updateLastGoodAndLastCompleted procedure.
-
Enter the following parameters:
After the job runs, you can view the results on the Job Details page. In the updateLastGoodAndLastCompleted step, select the Log icon for diagnostic information.
In the project, select the Schedules tab, and then select the SCM type in the pop-up.
-
Select a step name.
-
Then select the procedure that runs when the sentry is triggered.
-
Enter the following information that is passed to the sentry monitor. In this example, the client is being monitored so that every time someone submits a changelist, the sentry triggers the runWithSentry procedure.
If something changes in the client, the sentry monitor shows a status.
The runWithSentry job now appears in the Jobs tab
- Migrated documentation to the main documentation site. (Deprecated)
- Renamed to "CloudBees".
- Updated plugin icon.
- Added Run Schedule Even if Another Instance is Running option for Sentry schedules.
- Added support to the Checkout code procedure to populate a
property sheet called
ecscm_changelogsthat contains the changes included in a checkout since the latest.
- Added location and template options for workspace creation.
- Fixed errors under Windows OS.
- Fixed password escaping.
- Added Overwrite option for Checkout procedure.
-
Added support for Linux TFS client.
-
Fixed job error when undoPendingChanges option is selected and no pending changes are present.
-
Added check to inspect if
itemSpecis present when Undo pending pages selected.
- This plugin has been tested against Microsoft Team Foundation Server v2013.
- A
workflowis not created if it already exists.
- Added the Undo pending changes parameter to the CheckoutCode procedure.
- Added the Shelveset name and Shelveset owner parameters to the Checkout procedure.
- Cleaned up the step picker name.
-
Updated the Help page.
-
Added the step picker.
-
Added the XML panels.
-
Added the Help links.
-
Added the parameter to set the TF binary path.
-
Fixed a bug in the Checkout procedure.
-
Updated the Help page.
- Fixed the preflight procedure.
-
Fixed features.
-
Added the Sentry and Checkout features.
-
The Sentry procedure now works with different date formats.



