Jenkins notification-poll-build fail with "No git consumers for URI ssh://path"

Solution 1:

Things to remember when connecting an hook to Jenkins:

  1. Thick the Poll SCM option in the Build Triggers leaving the "schedule" textarea empty

  2. the url=xxx parameter must match the "Repository URL" specified in the job configuration. If it is prefixed by ssh:// you should keep it in the notification call

  3. Don't forget to push a change to the repo you configured! To verify you have changes: http://jenkins-url:jenkins-port/job/JOB-NAME/scmPollLog/ should contain "Changes found" in the last line.

Source: Git plugin docs