March 6, 2015

Jenkins – Automate the creation of new Jenkins jobs

It is possible to create a jenkins job that when run:


You can find all my latest posts on medium.

– scans git for any newly created repo.
– creates a new jenkins job for new repos.

This is achieved using the the following plugin:

as well as writing some groovy script.

This jenkins job can then be run as an hourly cron job, or manually, as and when needed.

Also see:—Using-the-Jenkins-Job-DSL