Configure Jenkins plugin

  • Release version: Australia
  • Updated March 12, 2026
  • 4 minutes to read
  • Configure Jenkins to send real time notifications for your pipeline executions to DevOps Change Velocity.

    Before you begin

    Role required: Jenkins admin

    Procedure

    1. Install the ServiceNow DevOps plugin from the Jenkins Marketplace by navigating to Manage Jenkins > System configuration > Plugins in your Jenkins instance.
    2. Search for ServiceNow DevOps Plugin and select it, and then select Install.

    Configure webhooks manually for Jenkins

    Configure webhooks in Jenkins to send sync notifications to the DevOps Change Velocity application.

    Before you begin

    Role required: sn_devops.admin or sn_devops.tool_owner in DevOps Change Velocity, Jenkins admin

    About this task

    You can add a total of ten ServiceNow DevOps configurations. For example, you can configure Jenkins connections for your Development, Testing, Production instances, and so on.

    If you are an upgrading customer, you must download and install the latest Jenkins plugin to enable multiple ServiceNow configurations. After installation, your existing configuration will be retained and made the default configuration.

    In the ServiceNow DevOps Configuration section in Jenkins, the values in the Name field and the combination of the Instance URL and Orchestration Tool ID fields must be unique.

    If you choose to automatically configure a tool from ServiceNow, then the existing set up for ServiceNow DevOps Configuration will be over-written in Jenkins.

    If DevOps Config is installed, you will only be able to configure Jenkins manually.

    Procedure

    1. In DevOps Change Velocity, choose Configure manually when configuring the tool instance to send data.
      Configure webhooks automatically.
    2. Select Copy in the appropriate field to copy the value to your clipboard.

      The field label changes to Copied, but you can copy multiple times.

      Configure webhooks manually.
    3. In Jenkins, navigate to Manage Jenkins > System configuration > Manage Plugins > Configure System.
    4. In the ServiceNow DevOps Configuration section, select Add.
      Note:
      You can add multiple connections by selecting Add for each new configuration.
    5. Configure the plugin by filling in the fields.

      When enabled, Jenkins starts sending events to DevOps as inbound events.

      Note:
      Values are case-sensitive.

      Fields to be configured in Jenkins.

      Field Description
      Active Select this option to make the connection active. By default this option is selected when you select Add for a new connection.
      Note:
      All the connections that have Active enabled, will send webhook notifications for your pipeline execution,however for the change step only the connection specified will be considered.
      Default Select this option to make the connection the default one when the connection name is not passed in an existing step on a pipeline.
      Note:
      Not selecting this option when only one connection is available will result in error.
      Name Unique name of the connection.
      Note:
      The name value is auto-generated when you auto configure a connection from ServiceNow.
      Instance URL

      Enter your ServiceNow instance URL you copied in step 2. For example, https://<your-instance>.service-now.com.

      Orchestration Tool ID

      The sys_id of the orchestration tool you copied in step 2.

      Alternatively, you can copy this value from the webhook URL (toolid value), or obtain it directly using the Copy sys_id command on the Orchestration Tool record.

      Note:
      The combination of the Instance URL and Orchestration Tool ID values must be unique for each connection.
      Artifact Tool ID

      The sys_id of the artifact tool.

      Credentials

      Select the basic authentication credentials that you want to use for connecting to Jenkins.

      1. To add credentials, select Add.
      2. In the Username field, enter your DevOps Integration User details. By default, it is devops.integration.user.
      3. In the Password field, enter your DevOps Integration User password.
      Secret Credentials

      Select the secret token that you copied in step 2. Alternatively, you can perform the following steps to obtain the secret token from the tool record.

      1. Copy the secret token for your Jenkins tool in DevOps Change.
        • Workspace: Navigate to the tool record, select Configure and copy the secret token.
        • Classic UI: Navigate to the tool record and select Copy token.
      2. To add tokens, select Add.
      3. From the Kind list, select Secret text.
      4. In the Secret field, enter the secret token generated while creating the Jenkins tool connection in DevOps.
      5. In the ID field, enter a name for the token.
      Log Level The level of log messages you want to store in Jenkins logs/ ServiceNow log recorder.
      Select from one of the following options:
      • inherit
      • off
      • severe
      • warning
      • info
      • config
      • fine
      • finer
      • finest
      • all

      For more information on Log levels and log recorders, see Jenkins log levels and Log Recorders

      Force Tracking Check

      Select the check box to make a REST (POST) API call to Jenkins for each pipeline execution to determine whether the pipeline is tracked or not.

      Clear the check box to store details in the snPipelineInfo.json file and stop making API calls for every pipeline execution.

      Note:
      When a pipeline is tracked, all active Jenkins configurations will receive job notifications.
      Pull Request Pipeline Tracking Check

      Select the check box to enable tracking for pull request pipelines.

      Note:
      When a pipeline is tracked, all active Jenkins configurations will receive job notifications.
    6. Select Test Connection.
      Verify that the connection successful message displays.
      • If you've added basic authentication credentials, on successful connection, you will see the message: Connection using 'Credentials' is successful.
      • If you've added the secret token, on successful connection, you will see the message: Connection using 'Secret Credentials' is successful.
    7. Select Apply to apply the changes and select Save.