The collection of reusable methods and pipelines for jenkins. It is based on jenkins-shared-library functionality.
Different parts how some dependencies. For instance,
To install it as a global shared library, open Manage Jenkins » Configure System in jenkins web UI and find Global Pipeline Libraries block. You can add as many shared libraries as needed here, just press “Add” button and fill in required information:
Something like on the screenshot below
Basically, that is it. Now you can import things from the shared jenkins library inside your pipeline. For more details about setup please look into jenkins docs
There is usage example in this Jenkinsfile. In a nutshell you just need to import shared library with @Library annotation, like this
@Library('jenkins-library@master') _
Then you can refer to methods defined in the vars/, something like
ecrUtils.ecrLogin(["us-east-1"])
With the above example console output is going to look like
This project is licensed under the Apache License 2.0 (LICENSE)