A collection of examples, tips and tricks and snippets of scripting for the Jenkins Pipeline plugin
Groovy
Switch branches/tags
Nothing to show
Clone or download
Latest commit 0b834c0 Jan 22, 2018
svanoort committed Jan 22, 2018 Merge pull request #79 from carlosrodlop/bestPractice
BEST_PRACTICES: Adding new points for general advices and extending some of existing ones

README.md

Introduction

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

Layout

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 README.md 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.

License

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

Pull requests

We want them!

External resources