Question

I'm using Jenkins for CI, I'm trying to establish a build strategy. My point here is to build

after every commit. I saw that I need to create post-commit file in the hooks directory of my

project repository.

The porblem is that I'm using SVN as an Eclipse plugin, so I don't really have a repository,

I'm just using "right click -> Team " on my project to synchronize/update/commit ...

I can't see where to create my post-commit file in order to launch a Jenkins build.

Does anyone kow how to deal with this issue ?

I've seen many posts before, but none of them was helpful !

Thanks

Was it helpful?

Solution

The simplest solution is to use Poll SCM in your Jenkins job and have it look for changes e.g. every 5 minutes. It won't trigger the build instantly on commit, but it will decouple your SVN and Jenkins a bit more.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top