You can learn about integrating the Jenkins plug-in in HCL DevOps
Velocity (Velocity).
Before you begin
You must have completed the following:
- Ensured that you have a valid Jenkins account.
- Generated the API token in Jenkins account.
Procedure
Perform the following steps to integrate Jenkins in Velocity:
-
On the Home page, click tab.
-
Select Jenkins from the list, and then click
Install.
The
Add Jenkins Integration dialog is
displayed.
The following table lists the required fields that you must provide to
integrate the Jenkins plug-in:
| Fields |
Action |
| Integration name |
Type a name for the integration. For example,
TUTORIAL_JENKINS |
| Jenkins Server URL |
Type the URL of the Jenkins server. For example,
http://10.0.0.0:8080
|
| Username |
Type the Jenkins username. For example,
myJenkinsID |
| API Token |
Type the API Token. |
| Job Filter (xPath) |
Optional: Type the jobs to limit the syncing of jobs using xPath
string. |
-
Use defaults for the remaining fields in the integration, and the click
Add.
The integration is listed on the
Integrations page
and
Status field displays that the integration is
Online.
If the integration is not successful, the
Status field displays that integration is
Failed. You must use the View log option
to troubleshoot the integration.
-
Synchronization of plug-in is set to 5 minutes by default. You can disable
synchronization by using toggle icon in the Disable/Enable
section on the Configured tab.
Note: Synchronization of plug-in ensures that the changes or
updates are consistently reflected across all the integrated applications.
In this lesson, you have learned to integrate Jenkins plug-in in Velocity.
What to do next
You can learn about creating a value stream in Velocity. See Lesson 4: Creating the value stream