This is a jenkins server for developing pipelines locally without requiring git commits.
- Change the first half of line 7 from
../spring-petclinic
to the relative or absolute path of the pipeline directory to be worked on. - Run
docker-compose up
- Run the pipeline-updater job at
http://localhost:18080/job/pipeline-updater/
- Your pipeline should have run at
http://localhost:18080/job/devPipeline/
- Create a freestyle job.
- Have it pull down this repo at
https://github.com/liatrio/pipeline-developer
- Add a "Process Job DSL Script" step and have it look on the filesystem for
createDevJob.groovy
- Add a volume to the jenkins container in the docker-compose that references your project so that jenkins can copy those files in.