This is a simple Jenkins shared library example
A Jenkins even/odd playbook from the Jenkins.io documentation
Add this as a shared library called jenkinsEvenOdd in your jenkins instance, and then instantiate the pipeline in your project Jenkinsfile
This will also use an example of global variabls from the log.groovy definitions