General Information
Jenkins shared libraries are re-usable custom steps, variables, functions, and classes.
Checklist
Create a new git project that will contain the Jenkins shared library.
Directory structure:
Example: https://gitlab.com/whowe/jenkins-shared-library
Edit the Jenkins server settings to be able to use the shared library
Configure a Jenkinsfile pipeline to use the shared library and then access the custom step via its filename (minus extension).
Example: