I created a tool using python with some bash to start jenkins build. Basically you need to collect these two values from post-commit when the commit gets to the svn server:
REPOS = "$ 1" REV = "$ 2"
Then you use "svnlook dirs-changed $ 1 -r $ 2" to get the path just passed. Then you can check which repository you want to build. Imagine you have one hundred thousand projects. You cannot check the entire repository correctly?
You can check my script from github
I wrote this script since I just learned python and still use it now. I planned to improve it, but new projects and things just hold me back all the time. Everyone with good python knowledge certainly has the best built-in tool. If anyone could share, would like to have it.
Phan Dolphy Aug 19 '15 at 14:50 2015-08-19 14:50
source share