Jenkins DSLs for my Jenkins instance, keeps forks up to date, mirrors repositories to private git, builds all Dockerfiles and more.

Clone this repo:

Branches

  1. efb7f1f update mirrors by Jess Frazelle · 4 weeks ago master
  2. fb4a561 updates by Jess Frazelle · 4 weeks ago
  3. 8afd0c7 update tags by Jess Frazelle · 5 weeks ago
  4. f6d3823 cleanup by Jess Frazelle · 5 weeks ago
  5. 438fda0 fix by Jess Frazelle · 5 weeks ago

jenkins-dsl

Travis CI

Jenkins DSLs for my private Jenkins instance, keeps forks up to date, mirrors repositories to private git, builds all Dockerfiles and more.

The plugins.txt file documents all the extra plugins needed to get all the features.

Using the Makefile

$ make help
all                            Run all the generation scripts.
deploy-key                     Create a deploy key for a given repo (ex. REPO=jessfraz/jenkins-dsl).
projects/forks                 Generate DSLs to update git forks.
projects/mirrors               Generate DSLs for git mirrors.
projects/repo-dockerfiles      Generate DSLs for repos with Dockerfiles.
shellcheck                     Runs the shellcheck tests on the scripts.
test                           Runs all the tests on the files in the repository.
webhook-jenkins-create         Create the jenkins webhook for a given repo (ex. REPO=jessfraz/jenkins-dsl).
webhook-jenkins-get            Get the jenkins webhook for a given repo (ex. REPO=jessfraz/jenkins-dsl).
webhook-travis-get             Get a travis webhook for a given repo (ex. REPO=jessfraz/jenkins-dsl).