CI/CD Connection Profiles
The following topics describe connection profiles for continuous integration and continuous deployment (CI/CD) services.
ConnectionProfile:Azure DevOps
The following example shows how to define a connection profile for an Azure DevOps job: For more information, see Control-M for Azure DevOps.
{
"AZUREDEVCCP":
{
"Type": "ConnectionProfile:Azure DevOps",
"Azure Devops Token": "*****",
"Azure DevOps URL": "https://dev.azure.com",
"Organization ID": "organization2023",
"Azure Username": "AZusername",
"Description": "",
"Centralized": true
}
The following table describes Azure DevOps connection profile parameters.
Parameter |
Description |
---|---|
Azure DevOps URL |
Defines the Azure DevOps source hostname. Default: https://dev.azure.com |
Organization ID |
Defines the name of the Azure DevOps organization. |
Azure Username |
Defines the Azure DevOps username. |
Azure DevOps Token |
Determines the Personal Access Token (PAT), with a defined expiration date and scope of access, that connects to an Azure DevOps job. You can retrieve the token from Azure DevOps Configurations. You can use Secrets in Code to hide this value in the code. By default, each authentication type uses an Azure token that is valid for 24 hours. You can extend token lifetimes through Azure. |
Centralized |
Determines whether to create a centralized connection profile, which is stored in the Control-M/EM database and is available to all Agents. You must set this parameter to true. Values:
Default: false |
Connection Profile:Jenkins
Jenkins enables you to automate building, testing, and deploying code for repetitive tasks in software deployment process.
For more information about this plug-in, see Control-M for Jenkins.
The following example shows how to define a connection profile for a Jenkins job:
"JENKINS_RELEASE_TEAM":
{
"Type": "ConnectionProfile:Jenkins",
"Jenkins URL": "https://vl-tlv-ctm-bl30.adprod.bmc.com",
"Username": "johndoe",
"User API Token": "*****",
"Connection Timeout": "100",
"Description": "",
"Centralized": true
}
The following table describes Jenkins connection profile parameters.
Parameter |
Description |
---|---|
Jenkins URL |
Defines the Jenkins source hostname. https://<Server Name>:8443 |
Username |
Defines the Jenkins username. |
User API Token |
Defines the API token that is generated by Automation API. You can use Secrets in Code to hide this value in the code. |
Connection Timeout |
Determines the number of seconds to wait after Control-M initiates a connection request to Jenkins before a timeout occurs. Default: 100 |
Centralized |
Determines whether to create a centralized connection profile, which is stored in the Control-M/EM database and is available to all Agents. You must set this parameter to true. Values:
Default: false |