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:

  1. go dashboard.
  2. click on project.
  3. click configure.
  4. under build triggers check box poll scm.
  5. repeat other projects.

the notification send tells jenkins poll repository, projects respond if scm polling enabled.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -