pipeline-library
                                
                                 pipeline-library copied to clipboard
                                
                                    pipeline-library copied to clipboard
                            
                            
                            
                        A repository of Jenkins pipeline files we can reference from elsewhere
OpenShift Pipeline Library
What This Repo Is
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.
Other Resources
- https://jenkins.io/doc/book/pipeline/shared-libraries/