I just had a little gotcha using Jenkins and trying to integrate it so that bitbucket can use git hooks to kick off builds on commits. So I thought I’d share how I managed to get it all working as to me it wasn’t that clear.
Firstly I’ll assume you have a secured Jenkins instance setup and a repository on bitbucket.
Once it’s working login to your jenkins instance as the user you wish to use to kick off builds and manually build a job you’ve configured.