I set up Jenkins and Bitbucket and I am able to trigger the poll manually with curl:
curl -v http://jenkins.url:8080/git/notifyCommit?url=ssh://git@git.url:7999/ian/project.core.git
* Hostname was NOT found in DNS cache
* Trying 10.201.0.106...
* Connected to jenkins.url (10.201.0.106) port 8080 (#0)
> GET /git/notifyCommit?url=ssh://git@git.url:7999/ian/project.core.git HTTP/1.1
> User-Agent: curl/7.38.0
> Host: jenkins.url:8080
> Accept: */*
>
< HTTP/1.1 200 OK
< X-Content-Type-Options: nosniff
< Triggered: http://jenkins.url:8080/job/project.core/
< Content-Type: text/plain;charset=ISO-8859-1
< Content-Length: 32
* Server Jetty(winstone-2.8) is not blacklisted
< Server: Jetty(winstone-2.8)
<
Scheduled polling of ianus.core
* Connection #0 to host jenkins.url left intact
The Git-logger shows:
Dez 14, 2015 5:19:35 PM FEIN hudson.plugins.git.GitStatus
Received notification for uri = ssh://git@git.url:7999/ian/project.core.git ; sha1 = null ; branches = []
Dez 14, 2015 5:19:35 PM INFORMATION hudson.plugins.git.GitStatus$JenkinsAbstractProjectListener onNotifyCommit
Triggering the polling of project.core
But in the BitBucket server Gui clicking on the Trigger Jenkins button gives: Error: jenkins.url: unknown error.
I do not know if this is not related to the Issue #105, because I do not have any anonymous access enabled.
I set up Jenkins and Bitbucket and I am able to trigger the poll manually with curl:
The Git-logger shows:
But in the BitBucket server Gui clicking on the Trigger Jenkins button gives: Error: jenkins.url: unknown error.
I do not know if this is not related to the Issue #105, because I do not have any anonymous access enabled.