Creating a new build, either through the API directly or using the web interface fails with the following error: “bitbucket: undefined error”.
Apparently Drone makes an api call to the following Bitbucket Server endpoint which returns 404: /rest/api/1.0/projects/{project}/repos/{name}/commits/refs/heads/{branch}
Also as of this API changelog, that endpoint has been deprecated in Bitbucket Server 7.11
I’m using Bitbucket Server 7.12.1 and the latest version of Drone.