Reputation:
i have a question concerning Jenkins Buildserver und SVN. How can i configure my project job in jenkins in that way, that jenkins build automatically the project, if something was changed in the specific svn path of this project?
Thanks Marwief
Upvotes: 2
Views: 7326
Reputation: 69329
In the project configuration, there should be a Build Triggers section. This controls how often Jenkins polls your SCM for code changes.
When using SVN, you can afford to check quite frequently because the checking is not expensive. So you can tell Jenkins to check every minute or so. Set this to Poll SCM and set the schedule to something like */n * * * *
(replace n
with your poll interval in minutes).
Full details can be found at this tutorial: Your First Jenkins Build Job.
Upvotes: 2
Reputation: 7461
As I know, SVN files can be downloaded directly by HTTP, so you can set Jenkins to build automatically, when this file's changed: https://wiki.jenkins-ci.org/display/JENKINS/URL+Change+Trigger
Upvotes: 0