Skip to content
A collection of examples, tips and tricks and snippets of scripting for the Jenkins Pipeline plugin
Branch: master
Clone or download

Latest commit

abayer Merge pull request #95 from dwnusbaum/patch-1
[JENKINS-55758] Use whitelisted APIs from workflow-support 2.22
Latest commit 4af47ea May 16, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information.
declarative-examples Updating typo to make parentheses plural. Aug 17, 2017
docs Merge pull request #79 from carlosrodlop/bestPractice Jan 22, 2018
global-library-examples Fix broken link Sep 7, 2016
pipeline-examples Use whitelisted APIs from workflow-support 2.22 Jan 24, 2019
LICENSE.txt Initial commit with README and LICENSE Nov 24, 2015 added funkwerk examples Aug 21, 2016


This repository is a home for snippets, tips and tricks and examples of scripting for the Jenkins Pipeline plugin.


The repository is broken up into four directories currently:

  • pipeline-examples - for general Pipeline examples.
  • global-library-examples - for examples of how to write and use the global library on a Jenkins master.
  • jenkinsfile-examples - for examples of using Jenkinsfiles checked into repositories.
  • docs - for documentation, guides and other non-code content.

Please put your script into its own directory under the appropriate directory above, with a file included explaining what your script does or shows. Make sure your script is commented so that others can understand how it works, why it works, etc.


All contributions are under the MIT license, like Jenkins itself.

Pull requests

We want them!

External resources

You can’t perform that action at this time.