So, exactly what are you trying to do and exactly what is failing?

* Do you have the job in Jenkins?
* What happens when you press the "Build Now" button?
* Can Jenkins detect when you do a commit?
* Is there a certain spot where it's failing?
* What is the post-commit hook for? Normally, with Subversion, you can
let Jenkins detect when a commit is done on the project. With CVS, you
sometimes have to setup a post-commit hook to start the Jenkins job
because CVS takes so much time and resources to determine whether or
not a change has occurred. With Subversion, it takes less than a
second and very few resources.

* What does your post commit script look like?
* What error messages are you getting? Are you able to see an update
with the Subversion job? Is there any build going on? Is the problem
just with updating the Maven repository?
* Have you tried manually doing this on the Jenkins server logged in
as the user who is running Jenkins.

On Wed, Apr 11, 2012 at 12:07 AM, Bryan Campbell <[email protected]> wrote:
> I have been trying to setup a basic post-hook commit with Jenkins for
> about 2 weeks now. I can't seem to get past this issue.  I find this issue
> often on forums, blogs, google, and in this user group.  Does anyone know
> why this is happening or how to fix it? I would really appreciate some
> help.  Thanks!
>
> On 4/10/12 9:50 AM, "Bryan Campbell" <[email protected]> wrote:
>
>>
>>I am trying to setup Jenkins to work with my subversion repository.  I
>>have 4 projects setup as maven projects but are configured with
>>subversion.  When ran manually they do an svn up on the projects,
>>compile, run tests, and then deploy to a maven snapshot repository.
>>Right now they are polling SCM every 5 mins.  I would like to change this
>>to be done through post commit hooks.
>>
>>I have Jenkins 1.458 installed on Windows OS.  The subversion post hook
>>commit seems to work just fine.  It hits a URL in jenkins with the
>>correct UUID via POST.  It posts the change as data.  I receive no issues
>>from the post-commit hook.  However it doesn't do anything.  When I check
>>the Jenkins logs it says:
>>SubversionRepositoryStatus doNotifyCommit, WARNING: No subversion jobs
>>found
>>
>>All of our jobs have subversion configured and work properly when ran
>>manually.  I checked the subversion plugin's xml in Jenkins and it has
>>the right SVN credentials.  I can't seem to get past this part.
>>
>>Help would be greatly appreciated.
>>
>>Thanks  a lot!
>>
>



-- 
David Weintraub
[email protected]

Reply via email to