6
I have Jenkins installed correctly and building every 30 minutes, but I’d like to build every commit in the svn repository.
I tried to configure the option: Check the SCM periodically, but I was unsuccessful.
Someone knows how to do?
6
I have Jenkins installed correctly and building every 30 minutes, but I’d like to build every commit in the svn repository.
I tried to configure the option: Check the SCM periodically, but I was unsuccessful.
Someone knows how to do?
4
I recommend you use a 'Post-commit hook', where every commit the SVN server notifies Jenkins, through a URL and triggers the build. This way you avoid overhead if the consultation frequency is low or you have many projects.
Examples and tutorials: https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin http://imasters.com.br/artigo/16631/desenvolvimento/customizando-o-subversion/
0
Look at mine here:
I set to query the repository every 5 minutes.
Browser other questions tagged java jenkins
You are not signed in. Login or sign up in order to post.
With what exactly did you not succeed? Gave some mistake?
– Miguel Cartagena
No error and does not start generating release.
– fymoribe
And how many commits have you made since you set up Hudson?
– Miguel Cartagena
Can there be any difference? It’s been over 10 days running with build generation from time to time. And it’s been too many commits.
– fymoribe
And I meant after that you changed to "Periodically consult the SCM". You’ve committed something since then?
– Miguel Cartagena
Yes, several commits.
– fymoribe
I don’t know if you tried anything or searched the OR in English. There’s that: http://stackoverflow.com/questions/10014252/jenkins-ci-how-to-trigger-builds-on-svn-commit. If so, can someone translate the answer from there.
– Maniero