This is a shared library of Jenkins Pipeline functionality we've developed and use frequently within the CoP. This repo can be imported into a jenkins server (following this doc) and used to add functionality to Pipeline scripts.
You can include this repo in your Jenkins Pipeline by defining following at beginning of your Jenkinsfile:
library identifier: "pipeline-library@master", retriever: modernSCM(
[$class: "GitSCMSource",
remote: "https://github.com/redhat-cop/pipeline-library.git"])
Included in this library:
- org.redhatcop.util.Notifications - A build status notification system for chat-ops
- vars - Many small Jenkins functions for OpenShift
Please see https://github.com/redhat-cop/container-pipelines or https://github.com/redhat-cop/containers-quickstarts for related content.