Hi,

using 1.508 jenkins version and 1.45 subversion plugin. My post-commit file
looks like this:

REPOS="$1"
REV="$2"
UUID=`svnlook uuid $REPOS`
/usr/bin/wget \
  --header "Content-Type:text/plain;charset=UTF-8" \
  --post-data "`svnlook changed --revision $REV $REPOS`" \
  --output-document "-"  \
  --timeout=5 \
  "http://server:8080/subversion/${UUID}/notifyCommit?rev=$REV";


When i try to run only wget from command line i get 200 ok status:


--2013-03-29 10:20:01-- 
http://server:8080/view/AM/subversion/a76d2bf5-e990-475f-93c9-bc82d76f5051/notifyCommit?rev=1460
Connecting to server:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `STDOUT'

    [ <=>                                                                       
                                                   
] 0           --.-K/s   in 0s

2013-03-29 10:20:01 (0.00 B/s) - written to stdout [0]


And jenkins log gives me the warning:

Mar 29, 2013 10:20:05 AM hudson.scm.BlameSubversionRepositoryStatus
doNotifyCommit
WARNING: No subversion jobs found

Please help anyone :( Thanks.

Regards,
Karolis M.



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/SVN-post-commit-hook-not-triggering-jenkins-build-tp4660974.html
Sent from the Jenkins issues mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to