Bitbucket plugin

Continuing the discussion from Is it possible to create branches and commits with a bitbucket server plugin?: