Connect your Jenkins instance to discover and track your pipelines, and import your orchestration tasks for end to end traceability and change automation.
시작하기 전에
Role required: sn_devops.admin or sn_devops.tool_owner
Install and enable the ServiceNow DevOps plugin for Jenkins. If you've already installed it, update to the latest version. For instructions, see Configure Jenkins plugin.
프로시저
-
Create a tool record in DevOps to automatically connect to
Jenkins and get the webhook URL.
-
Navigate to and create a record.
-
Enter a Tool Name and fill in the tool
details.
-
Select MID Server for an on-premises tool that is attached to a MID Server.
The Application value is automatically set to DevOps and the Capability value is set to REST.
-
Click Submit.
The tool is connected successfully.
On successful tool creation, you're taken to the tool record page.
-
If you want to control access to the tool, add the groups that must be given access to the tool in the Maintained by field on the Access tab.
The tasks the users in the groups can perform depends on the roles assigned to them.
주: Only groups containing users with DevOps roles are available for selection in the Maintained by field.
The All App Owners can view and associate tool objects to applications option becomes available for selection if you choose to restrict access to the tool. This option enables all users having the DevOps App Owner role to access the tool. If selected, they’ll be able to view, associate, discover, import historical data, and modify pipeline steps (if applicable) of the tool's objects.
-
Click Discover to discover the existing orchestration
tasks (Jenkins stages) and pipelines.
주: Orchestration tasks and pipelines are discovered for folders nested to the
level specified in the
sn_devops.discover.folder.depth
property. For more information, see
Properties installed with
DevOps.
Records are added to the corresponding related lists.
-
Open a discovered record from the Orchestration Tasks related list and click
the Import related link to import historical data from
the orchestration task.
Imported task execution records and step execution records are added to
the corresponding related lists.