A nodejs app completely managed by Jenkins.
The content of the app is unimportant; what's important is the Pipeline script.
The feature1
branch contains a different Jenkinsfile
along with loading a separate Groovy utility script.
Keep your Pipeline Scripts DRY
While the ATO talk focused on the highlights of Pipeline, there are several places where you can find some additional information. Most of the pipeline documentation can be found on the Jenkins.io website.
- Jenkins Documentation There are specific links to the Pipeline handbook
- Jenkins Project Example Scripts
- Docker Pipeline Example which this demo heavily references
- Pipeline Exmaples The 2nd type of Snippet Generator
- Jenkins Pipeline Plugin Step Documention
- Pipeline Shared Libraries The end all, be all
- Grape Documentation This is extremely useful in loading external libraries
- Pipeline Multibranch Plugin
- GitHub Organization Folder
- Bitbucket Branch Source Plugin