I'm trying to trigger a jenkins build automatically when i commit to my git repo. I am using a cloudbees jenkins instance and my repo is located at butbucket.
I configured the jenkins service on my bitbucket repo but it doesn't seem to start the build on jenkins. To configure it i've used the following:
Endpoint: https://<my-email>:<my-api-token>@myaccount.ci.cloudbees.com
Project name: <my-build-job-name>
Token: <my-token-name>
I have properly set up both the cloudbees SSH public key to bitbucket and verified that jenkins does build my project successfully when triggered manually. It doesn't seem to work however when i push changes to my repository.
I have followed the following tutorial: http://wiki.cloudbees.com/bin/view/DEV/Bitbucket
Has anyone managed to solve this?