Update Jenkins jobs on Git push
jenkins-jobs update /etc/jenkins_jobs/jobs/ when the Jenkins jobs repository gets an update.
#5 Updated by bertagaz almost 5 years ago
For now our jenkins-jobs recipes are hosted on git.t.b.o, and this gitolite instance is whilelisting hooks we can run on our repos (thanks to them if they ever read).
OTHO automating build on pushes from git.t.b.o to our automated build infra sounds like a bad idea, giving a lot of unnecessary power to a machine on another one. And makes no sense if our jenkins instance host is down.
So I propose our jenkins jobs repo being hosted on our self-administered gitolite instance (no offense), which btw is at the moment hosted on the same machine than our jenkins instance. It would be authoritative on the git.t.b.o one.
It will also help to tie up the commit bit on that git repo, which would be at least granted by only one gitolite instance.