Lesson 3: Integrating with Jenkins

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:
  1. On the Home page, click Settings > Integrations > Available tab.
  2. 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.
  3. Use defaults for the remaining fields in the integration, and then 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.

  4. 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 integrating DevOps Velocity plug-in in Velocity. SeeLesson 4: Integrating with DevOps Deploy.