Control-M for Jenkins

Jenkins enables you to automate building, testing, and deploying code for repetitive tasks in the software deployment process.

Control-M for Jenkins enables you to do the following:

  • Execute Jenkins pipelines.

  • Manage Jenkins credentials in a secure connection profile.

  • Connect to any Jenkins endpoint.

  • Introduce all Control-M capabilities to Control-M for Jenkins, including advanced scheduling criteria, complex dependencies, Resource Pools, Lock Resources, and variables.

  • Integrate Jenkins jobs with other Control-M jobs into a single scheduling environment.

  • Monitor the status, results, and output of Jenkins jobs.

  • Attach an SLA job to the Jenkins jobs.

Setting up Control-M for JenkinsLink copied to clipboard

This procedure describes how to deploy the Jenkins plug-in, create a connection profile, and define a Jenkins job in Control-M SaaS and Automation API.

Before You Begin

  • Verify that Jenkins 2.387.1 or higher is installed.

  • Verify that Automation API is installed, as described in Setting Up the API.

  • Verify that Agent version 9.0.21.080 or later is installed.

  1. On the Agent host, run one of the following commands to set the Java environment variable:

    • Linux:

      • Bourne shell/bash: export BMC_INST_JAVA_HOME=<java_11_directory>

      • csh/tcsh: setenv BMC_INST_JAVA_HOME <java_11_directory>

    • Windows: set BMC_INST_JAVA_HOME="<java_11_directory>"

  2. Run one of the following API commands:

    • To install, type one of the following provision image commands:

      • Linux: ctm provision image Jenkins_plugin.Linux

      • Windows: ctm provision image Jenkins_plugin.Windows

    • To upgrade, type the following command:

      ctm provision agent::update

  3. Create a Jenkins connection profile in Control-M SaaS or Automation API, as follows:

  4. Define a Jenkins job in Control-M SaaS or Automation API, as follows:

To remove this plug-in from an Agent, see Removing a Plug-in. The plug-in ID is JEN022024.

Change LogLink copied to clipboard

The following table provides details about changes that were introduced in new versions of this plug-in:

Plug-in Version

Details

1.0.00

Initial version