Onboard Jenkins to DevOps Change Velocity — Service Catalog
Connect your Jenkins instance using the ServiceNow Service Catalog to retrieve data like artifacts, test results, scan results, and so on.
Before you begin
Role required: sn_devops.admin or sn_devops.tool_owner
Procedure
-
Navigate to All > Service Catalog > Catalog Definitions > Maintain Items and search for DevOps.
Note:You can also access the service catalog from Employee Center or Service portal.
- From the DevOps catalog items, select and activate DevOps App Onboarding and DevOps Tool Onboarding.
- After activating, select DevOps Tool Onboarding and select Try it.
-
In the DevOps Tool Onboarding form, enter the tool details:
Field Description Tool name Name for your Jenkins integration. Tool integration Select Jenkins. Tool URL URL for your Jenkins instance. Tool username Username for your Jenkins instance. Tool password/ Access token Access credentials for your Jenkins instance. Use MidServer Optional. Select MID Server for an on-premises tool that is attached to a MID Server. Application is automatically set to DevOps and capability is set to REST. For a list of all the permissions required on the credentials for connecting to Jenkins, see Jenkins permissions in Permissions required for DevOps tools.
-
Select Order Now.
A request is created. When the request is approved, the tool is connected and discovered.
- From the DevOps catalog items, select DevOps App Onboarding.
-
In the DevOps App Onboarding form, enter the details:
Are you creating a new app or adding to an existing one? Select from the options whether to create a new app or use an existing app. App Enter the name for the app that you're creating or using. Onboarding pipelines Enter the connected Jenkins tool name. Pipelines Select the pipelines for which you want to configure webhooks and import historical data. Import from and Import to Select the dates for which you want to import the data. By default, the last 30 days are selected. You can choose to import data for a maximum of 90 days. Onboarding repositories Leave empty. Onboarding plans Leave empty. -
Select Order Now.
A request is created. When the request is approved, the pipeline objects are associated to the app record, which enables real-time tracking. Historical data is also imported for the selected pipelines. The Track field is automatically enabled for imported pipelines.