We just have the one windows box that hosts all of our stuff so jenkins and the git repo are on the same box. No slaves/remote agents. Project builds fine if we use trigger build API, manually build, or actually poll git. Literally the only problem we are stuck with is notifyCommit not recognising the project's git URL because it is a local path and not a (web) service path.
Tried changing the config to git bash compatible path (/D/Repositories/Project) but still the same problem: "No Git consumers using SCM API plugin for: /D/Repositories/Project" Thanks, J On 12 August 2016 at 22:09, Mark Waite <mark.earl.wa...@gmail.com> wrote: > If you're using command line git, you might try /D/Repositories/Project. > > That syntax may work on the same machine which hosts the repository. That > won't work for an agent running on a different machine, or a Jenkins server > hosted on a different machine. > > If you need to use agents which are not the same machine as is hosting the > repository, you'll need a protocol that can be used across the network. If > you need to use agents which are not Windows, then you'll need a network > aware protocol (like http, https, or ssh). > > If you host your git repository on Windows, you should plan on exploring > interesting territory that others do not commonly explore. Most git > repositories are hosted on Linux and other Unix-like operating systems > (MacOS, FreeBSD, Solaris, OpenBSD, NetBSD, HP-UX, etc.) much more > frequently than they are hosted on Windows. Windows Jenkins jobs are > generally slower than Linux Jenkins jobs, especially for git operations. I > don't know if that is due to virus scanning overhead, or some other form of > overhead, but even with git's file system caching enabled, my test jobs > still take longer on Windows than on comparable Linux machines. > > On Fri, Aug 12, 2016 at 1:41 PM John Thornborrow < > thornborrow.j...@gmail.com> wrote: > >> Hi! >> >> Build(s) configured with repo: >> >> D:/Repositories/Project >> >> post-commit hook configured with: >> >> curl http://server/git/notifyCommit?url=D:/Repositories/Project >> >> Always returns: "No GIT consumers using SCM API plugin for: >> D:/Repositories/Project" >> >> Job definitely has SCM Poll checked. >> >> Any clues? I've tried using file:///D:/Repositories/Project and other >> logical variants (always ensuring both the url=$REPO matches the config >> value *exactly*) but to no avail. >> >> Many thanks, >> John >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/ >> msgid/jenkinsci-users/d6be236e-b904-461e-8060- >> c57cd4246b36%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/d6be236e-b904-461e-8060-c57cd4246b36%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/jenkinsci-users/KFXEKNld-cc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/CAO49JtF%2BXdA%3D6bi_tMEYirwvLa-EQ59% > 2BxTWUcFLxKknUfYt9Nw%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF%2BXdA%3D6bi_tMEYirwvLa-EQ59%2BxTWUcFLxKknUfYt9Nw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPMWfiVtNRQ-%3De6hETpHdRkQMLOGCKH4dmo1JmiKgSZmLggO6Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.