DevOps workflow in Servicenow Orlando version

DevOps helps improve collaboration between development and operations. It uses data to automatically create, authorize, and close a change request to go from days to minutes. It provides new insights on developer and operator dashboards to improve collaboration and drive behaviors.

Note: The DevOps product is rolling out gradually by region with an initial focus on the Northeast US and the UK. Please reach out to your ServiceNow account manager on availability in your area or other opportunities for early access.

Model your pipeline in DevOps

Once DevOps tools are connected, model a development pipeline and configure notifications to complete the setup.

Before you begin

Role required: sn_devops.admin

About this task

Associate each app in your DevOps environment with a DevOps pipeline. Jenkins declarative and scripted pipelines are supported.

A pipeline is defined as a set of steps that, for DevOps, begins at the planning phase (plans for the work to be done). An app is the item being worked on, and the work is done via commits to a code repository.

Once committed, an orchestration tool picks up the change and sends it through a series of steps up to and including production. For more info Servicenow Certification

Procedure

  1. Set up and associate a DevOps pipeline with Jenkins stages.
    1. Navigate to DevOps > Configure > Pipelines to view and compare the Normal pipeline with your development pipeline.

Normal and Break Fix pipelines are provided when demo data is installed.

  • Navigate to DevOps > Apps & Pipelines > Apps and open the application record.
    • Fill in the Orchestration pipeline field with the full project name as specified in Jenkins.
    • Select Normal Pipeline from the Pipeline lookup list to associate the pipeline with your application, and click Update.
    • Open the application record again and click the Create Stages from Pipeline related link.

Step records are added to the Steps related list.

  • Configure step settings to associate with Jenkins stages so an orchestration task can be created.

Create additional step records if your development pipeline has more than the three stages provided with the Normal Pipeline.

Note:Orchestration stage fields must be configured for step association with Jenkins stages. This field can only be configured from the Steps related list view.

Navigate to DevOps > Configure > Orchestration Tools

Configure Jenkins to send build notifications to the DevOps application.

  1. In Jenkins, click Manage Jenkins, select the ServiceNow DevOps Enabled check box in the ServiceNow DevOps Configuration section, and fill in the fields. Learn more from Servicenow Online Training

Navigate to DevOps > Configure > Orchestration Tools, open the Jenkins record, and associate each orchestration task in the Orchestration Tasks related list with a pipeline step.

Note: The Track field is set to True by default when you discover orchestration tasks. Tracking is required to receive job notifications from Jenkins.

Jenkins job run notifications are sent to the DevOps application. Each task execution notification corresponds to an orchestration task. Because orchestration tasks are mapped to a certain step in your app, you can track the activity in each stage of your pipeline.

Set up DevOps roles, connections, integrate with external tools, then use the Insights dashboard to analyze operational and business reports and gain insight into your DevOps environment.

You can also use the change acceleration feature of DevOps to automatically create a change request for a stage in your development pipeline to accelerate change.

DevOps personas

The DevOps administrator sets up and configures your DevOps application.

The DevOps integration user has inbound access to the tools in your environment to allow integration with the DevOps application.

The DevOps manager oversees the operation of the DevOps application and monitors performance in your DevOps environment.

The DevOps viewer has access to the DevOps application to use in their environment.

DevOps workflow

DevOps integrates with external planning, coding, and orchestration tools and automatically creates change requests at any stage for deployments that require change control.

Change approval policies can be used to automate change request approval to continue deployment through the execution pipeline automatically.

Performance and efficiency in your DevOps environment is monitored and analyzed using the DevOps Insights dashboard. Pipeline executions are visualized on the DevOps App Pipeline UI view. Get more skills from Servicenow Training

DevOps modules

Insights

Analyze operational and business reports including change acceleration, system health, and development to gain insight into your DevOps environment.

Configure

Set up initial configuration connections including planning tools to connect to applications, coding tools to connect to repositories, orchestration tools to connect to tasks, set DevOps properties.

Apps & Pipelines

Manage apps and create pipelines.

Plan

Access your integrated plans, applications, features (mapped from epics), and versions.

Develop

Access your work items (mapped from your planning application stories), and integrated coding tool repositories. Review development activity including branch, commit, commit details, and committers.

Orchestrate

Access your integrated orchestration tasks and task executions. Review pipeline change requests, registered callbacks, and pipeline executions.

Test

View build test summaries and test results.

Administration

View event processors, error log, and inbound events. Create tool integrations.

DevOps Concepts

These concepts are useful to understand with respect to the DevOps application.

Pipeline

A pipeline is defined as a set of steps that, for DevOps, begins with planning (plans for the work to be done). An app is the item being worked on, and the work is done via commits to a code repository. Once committed, an orchestration tool picks up the change and sends it through a series of steps up to, and including, production.

Those steps can include quality checks, like functional, security, load, and behavioral tests as well as deployments, infrastructure provisioning, and more. The ultimate goal is the delivery of fully tested and vetted development features as quickly as possible to production.

Integrations

The DevOps application integrates with external tools by exposing REST endpoints to receive Webhook notifications, or direct REST calls from tools.

API

The DevOps application includes a DevOps API that allows integration with any coding, planning, orchestration, and testing tools.

Orchestration plugin

A Jenkins plugin is provided to enable Change Acceleration so your orchestration tool can communicate with the DevOps app and control certain aspects of pipeline executions.

To get in-depth knowledge, enroll for a live free demo on Servicenow Developer Training

Leave a comment

Design a site like this with WordPress.com
Get started