Integrating Spinnaker with ServiceNow
May 11, 2020 by Fernando Cremer
As the pressure mounts to deliver faster, many organizations must do it with safety and compliance in mind.
Spinnaker provides an open platform to help you manage your Application Delivery Process and it makes integrating it with systems of record fairly easy, depending of course on how open the System of Record is.
For many organizations today, the System of Record when it comes to changes in production environments is ServiceNow.
In this YouTube video, I walk through an example of using Spinnaker to Orchestrate the Application Delivery Process and ServiceNow. From the moment a change is pushed to Git, a build process in Jenkins is triggered that builds and deploys to our dev namespace, capturing relevant information along the way using Pipeline Expressions (commit hash, docker digest, etc…) to log in a ServiceNow Change Request ticket that is created by Spinnaker. The video also covers how to trigger a pipeline from ServiceNow and use data from the ticket in the Application Delivery Process.
To accomplish the above integration, I used features in both Spinnaker (CustomWebhook Stages & Webhook Trigger) and ServiceNow (UI Action that calls an Outbound REST Message & Scripted REST API). F0r the ServiceNow Scripted REST API, I used this blog as a basis for it.
Given that ServiceNow is a pretty open platform as well, this was pretty easy to do. As with all similar projects, the level of difficult will depend on things like getting proper access, using the proper authentication methods, etc… If you have a different System of Record for changes in Production, or have a different use case, please let me know.
Thank you for reading and please leave a comment to let me know what you think! If you would like to look more under hood, I’ll be happy to do that via webinar format so we can have live Q & A.
You can read more about how to do this in Integrating ServiceNow with Spinnaker.