Introduction to the Jenkins SyncPack

Download this manual as a PDF file 

This section describes how you can use the "Jenkins" SyncPack to configure a bidirectional integration between Skylar One events and Jenkins jobs, pipeline jobs, and nodes.

This SyncPack uses the "Jenkins AutomationsPowerPack.

How Can I Use this SyncPack?

The "Jenkins"  SyncPack includes a configuration object, applications, and steps that bidirectionally sync jobs, pipeline jobs, and node status between Jenkins and Skylar One.

This SyncPack includes the following applications:

  • Create External Notes For Skylar One Event. This application queries Jenkins for job information to be added to the associated Skylar One event.
  • Create Event In Skylar One For Jenkins Job Run. This application creates a Skylar One event when a Jenkins job fails.
  • Create Event In Skylar One For Jenkins Node Status. This application creates a Skylar One event when a node is offline in Jenkins.
  • Create Event In Skylar One For Jenkins Pipeline Job Run. This application creates a Skylar One event when a Jenkins pipeline job fails.
  • Update Skylar One Event Triggered. This application updates a Skylar One event with Jenkins job information.
  • Trigger Event In Skylar One. This application creates a Skylar One event when a Skylar One event reaches a major severity threshold.
  • Create Virtual Device In Skylar One For Jenkins Jobs And Nodes. This application creates a virtual device in Skylar One that is used to identify Jenkins jobs and nodes.

Contents of the SyncPack

This section lists the contents of the Jenkins SyncPack.

PowerFlow Applications

  • Create External Notes For Skylar One Event. This application queries Jenkins for job information to be added to the associated Skylar One event.
  • Create Event In Skylar One For Jenkins Job Run. This application creates a Skylar One event when a Jenkins job fails.
  • Create Event In Skylar One For Jenkins Node Status. This application creates a Skylar One event when a node is offline in Jenkins.
  • Create Event In Skylar One For Jenkins Pipeline Job Run. This application creates a Skylar One event when a Jenkins pipeline job fails.
  • Update Skylar One Event Triggered. This application updates a Skylar One event with Jenkins job information.
  • Trigger Event In Skylar One. This application creates a Skylar One event when a Skylar One event reaches a major severity threshold.
  • Create Virtual Device In Skylar One For Jenkins Jobs And Nodes. This application creates a virtual device in Skylar One that is used to identify Jenkins jobs and nodes.

For more information about how to configure these applications, see Configuring Applications for the Jenkins SyncPack.

Configuration Object

  • Base Jenkins Configuration. This configuration object can be used as a template after the SyncPack is installed on the PowerFlow system. The configuration object includes the following:
  • Details for connecting to Skylar One, including the host, username, and password.
  • Details for connecting to Jenkins, including the URL, username, and password.
  • Details for notifications including the sender and receiving email, password, server, and port.
  • Details for connecting to Jenkins devices including device ID, collector group ID, and device class ID.

Steps

The following steps are included in this SyncPack:

  • Build Jenkins Job
  • Build Jenkins Job From Skylar One Event
  • Build Jenkins Pipeline Job
  • Create Jenkins Virtual Devices On Skylar One
  • Create Skylar One Alert
  • Create Virtual Device
  • Get Event Details From Skylar One
  • Get Jenkins Nodes Status
  • Get List Of Existing Virtual Devices Of Nodes
  • Get Virtual Device
  • Post Update To Skylar One
  • Read Cache
  • Update Jenkins Details To Skylar One
  • Update Skylar One Event of Jenkins Build Job