I have configured Bitbucket with a POST hook, but my build is not executed (‘Build when a change is pushed to Bitbucket’ is enabled).
- CloudBees Jenkins Enterprise
- Bitbucket 1.0
The way you should configure the Bitbucket plugin is explained in our documentation https://wiki.jenkins-ci.org/display/JENKINS/BitBucket+Plugin
If you did a push and your job was not triggered, you should ensure that on Bitbucket side you have configured your hook with an URL like this one: “https://<ACCOUNT_ID>.ci.cloudbees.com/bitbucket-hook/”. Notice that last “/”, without it, the build will not be triggered.
You can also check that Jenkins has received the trigger hook in the Jenkins access logs: https://<ACCOUNT_ID>.ci.cloudbees.com/container-logs/browse/
You can also enable some Bitbucket logs under Manage Jenkins -> System Logs->New Log Recorder with a configuration like the one below: