Configuring Jenkins integrations#
Manage Jenkins™ jobs with your deployments and pipelines.
Obtain the HCL™ Accelerate plugin and install it in your Jenkins instance. On the Jenkins Plugin page search for
UrbanCode. Complete the integration by pasting the HCL Accelerate credentials into Jenkins.
Note: Ensure the following requirements are met prior to installation of the plugin.
- You must have admin privileges in Jenkins.
- Upgrade the Jenkins plugin version to 2.1.0 in order to upgrade the HCL Accelerate version to 2.1.0 and later. HCL Accelerate version 2.0.6 will be the last version to support the previous Jenkins plugin version of 2.0.6 and earlier.
This configuration makes Jenkins jobs available to pipelines and deployment plans. You can run Jenkins jobs with HCL Accelerate and use the output in later tasks. After you configure an integration, add Jenkins tasks to deployment plans and pipeline stages.
Click Settings > Integrations > Plugins.
A list of defined integrations with current information about each integration is displayed in a table.
Click Add Integration for Jenkins.
In the Add Jenkins Integration window, in the Name field, enter a name for the integration and click Create.
In the Integration ID field, click to copy the ID and then paste it into the corresponding field in your Jenkins instance, Manage Jenkins > Configure System > UrbanCode Velocity.
In the Integration token field, click to copy the token and then paste it into the corresponding field in Jenkins.
Depending on the amount of data,the initial integration can take some time.
Synchronization occurs every minute. To prevent synchronization, click the Disable/Enable field on the Integrations page.
After the initial integration, you can add Jenkins tasks to deployment plans and select any of the integrated jobs. Similarly, you can add Jenkins jobs to pipeline stages.
Parent topic: Managing native integrations