The current official plugin workflow-cps does provide a way to retrieve a Jenkinsfile through a SCM, such as Git. The goal of this plugin is to provide another way to retrieve Jenkinsfiles via parameter of pipeline.
- Create a pipeline job
- Select the
Pipeline script from Parameter
option in thePipeline
section
To release simply call the following script:
mvn release:prepare release:perform
You can contribute to this plugin by retrieving the source and following the official Jenkins plugin tutorial to install, run, test and package it.
This project is licensed under the terms of the Apache License Version 2.0.