Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

curl -v http://<Jenkins URL>/git/notifyCommit?url=<SCM URL>

curl http://jenkins.com:8080/git/notifyCommit?url=ssh://git@bitbucket.com:7999/eee/repo.git

If the Jenkins job does not trigger, there is likely a problem with Jenkins.
If it works, check if all hook files are executable /data/repositories//hooks and /data/repositories//hooks/post-receive.d.

...

  1. Go to http://jenkins/log/new

  2. Set the name of the new log recorder: git

  3. Click OK.

  4. Add a Logger: hudson.plugins.git

  5. Click Save.

Now click Click Trigger Build to trigger a build from Bitbucket. Go to the logger page (http://jenkins/log/git) and reload the page. You should now see what the Jenkins Git Plugin received. It should look like this:

...