I've installed Webhook to Jenkins for Bitbucket plugin in bitbucket server. The main goal is that a jenkins build will be triggered after a commit.
After the install I've enabled the plugin: jenkins-url: https://url/jenkins ssh: ssh@git.. (same command is used in SCM plugin jenkins job).
The jenkins job works (git clone etc works) but the plugin isn't working. When I click test on the jenkins webhook plugin it shows me:
Error: Jenkins response: No git jobs using repository: ssh://[email protected] t and branches: master
The URL is right. So it is used in my jenkins job (and branch master). I've even copied the url from the error as URL in the jenkins job and it is still able to clone the repo. What do I forget?
EDIT:
I found some info that you should enable SCM polling in your job (even if this is polling once in a year). Only than this plugin will work? Is this the normal behaviour? (it seems to fix my issue)