curl - Jenkins job notification fails with "No git consumers for URI ..." -
i want set post-receive git hook notify jenkins change, no job triggered in jenkins.
my post-receive hook looks this:
curl http://localhost/jenkins/git/notifycommit?url=<git_repository_url> if issue command in terminal, following message:
"no git consumers uri..." i have jenkins job connected git source code management, repository url given branches: */master
i've searched problem, i've found nothing useful related to: "no git consumers uri"
i use:
- linuxmint
- apache 2.4.6
- git 1.8.3.2
- curl 7.32.0
- jenkins 1.532.2
i have proxy setup in apache:
<proxy *> order deny,allow deny allow 127.0.0.1 </proxy> the git repository bare.
enable scm polling each project want notify:
- go dashboard.
- click on project.
- click configure.
- under build triggers check box poll scm.
- repeat other projects.
the notification send tells jenkins poll repository, projects respond if scm polling enabled.
Comments
Post a Comment