connect Bitbucket with Jenkins
pull-request notifier
blogpost about how to test pull-requests on creation or update