|
Hi,
I was quite happy to read http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds -from-a-git-hook/ and immediately started adapting our builds. Unfortunately the only thing I get is: Status Code: 404 Exception: Stacktrace: (none) Generated by Winstone Servlet Engine v0.9.10 at Thu Dec 08 18:18:38 CET 2011 when navigating to: http://jenkins:8080/jenkins/git/notifyCommit?url=git@gitserver:tools/com mon.git to test the poll-scm-trigger (I get the same result in my console when I do a 'git push' to the tools/common.git repo). The url of the git repository is exactly the same as the one in the Source Code Management/Git/Repository URL field in my (multi-configuration) build job. I also specified the poll scm schedule to '@yearly' (as I understood was necessary for the trigger to work). Any ideas on what's going, or, even better, on how to fix it ? Thanks, Joris Koster CONFIDENTIALITY: This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. |
|
Hi,
Ok my mistake, I figured it out ... since we're running Jenkins as standalone Webserver on port 8080 the URL should have been without the /jenkins, like this: http://jenkins:8080/git/notifyCommit?url=git@gitserver:tools/common.git I hope this reply helps someone making the same mistake, regards, Joris Koster -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Joris Koster Sent: Thursday, December 08, 2011 6:28 PM To: [hidden email] Subject: triggering Jenkins builds from a git hook Hi, I was quite happy to read http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds -from-a-git-hook/ and immediately started adapting our builds. Unfortunately the only thing I get is: Status Code: 404 Exception: Stacktrace: (none) Generated by Winstone Servlet Engine v0.9.10 at Thu Dec 08 18:18:38 CET 2011 when navigating to: http://jenkins:8080/jenkins/git/notifyCommit?url=git@gitserver:tools/com mon.git to test the poll-scm-trigger (I get the same result in my console when I do a 'git push' to the tools/common.git repo). The url of the git repository is exactly the same as the one in the Source Code Management/Git/Repository URL field in my (multi-configuration) build job. I also specified the poll scm schedule to '@yearly' (as I understood was necessary for the trigger to work). Any ideas on what's going, or, even better, on how to fix it ? Thanks, Joris Koster CONFIDENTIALITY: This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. |
| Powered by Nabble | Edit this page |
