-
Bug
-
Resolution: Unresolved
-
Major
-
None
I have
'http://localhost/jenkins/subversion/${uuid}/notifyCommit?rev=$REV'
in my postcommit hook code, but my $REV is empty and when hooks execute the jenkins update but the penultimate revision. ¿Why dont update the last one?
If anyone could help me...
Thanks
[JENKINS-20623] Subversion postcommit hook dont take last revision
Workflow | Original: JNJira [ 152148 ] | New: JNJira + In-Review [ 178196 ] |
I'm using jenkins 1.541 and Subversion plugin 1.54. After a commit I see in my access_log file:"POST /subversion/59afc25a-023e-49db-8281-8e3da18f2001/notifyCommit HTTP/1.0" 200 0 "-" "Wget/1.11.4 Red Hat modified".
Yes there is no revision number, but I think it's not the issue here. I tried out with other jenkins versions where the revision number was visible but the behaviour is still the same. No job get's triggered.
When I remove the authentication from the post commit hook I get the following warning:
hudson.scm.SubversionRepositoryStatus doNotifyCommit
WARNING: No subversion jobs found
So i guess the authentication works with the original post commit hook.
The question is: Why doesn't the job get triggered although everything looks ok?
By the way, the PollSCM is checked!