Pipeline - Getting Started and Best Practices


  • I am new to Jenkins Pipeline. What’s the best way to get familiar with Pipeline, and what’s the best approach to get started and create new Pipeline projects?


  • Jenkins
  • CloudBees Jenkins Enterprise
  • Pipeline plugin


Much of the functionality, features, and some great examples of Jenkins Pipeline can be found on the Getting Started with Pipeline page.

Please see The Need for Jenkins Pipeline for a high-level overview which includes some illustrations. This might be especially useful if you wish to present Pipeline to your application team(s), your engineers, or other internal groups and end users (e.g. “customers”) of your application.

If you are looking for details regarding the various pieces which make up Jenkins Pipeline, that can be found on the Pipeline Plugin page, and there’s a pretty good README page which details high-level steps as well as Pipeline examples that can be used.

Useful Tips and Best Practices:

  • Be sure to frequently check for Pipeline Plugin updates and keep current on updating your environment(s) with recent bug fixes and feature improvements. If you haven’t updated the Pipeline plugins since you last upgraded your Jenkins master, you may be missing out on a lot of improvements, such as the Snippet Generator to easily create good pipeline scripts, etc.

  • When coding functions, use unique names in your pipeline script and avoid using built-in/pre-defined items (such as “build”, “stage”, etc). Using pre-defined methods may result in runtime issues, such as generating a sandbox.RejectedAccessException error when using build job DSL.

  • The Need For Speed: Building Pipelines To Be Faster presentation and stream presentation.

Have more questions? Submit a request


Please sign in to leave a comment.