View Bitbucket Push and Pull Request on the plugin site for more information.
This plugin requires a Jenkins v2.138.2 or later and supports the Bitbucket rest api v2.x+ and later.
The new features introduced by the Bitbucket Push and Pull Request plugin are:
- support of pull requests
- usage of Gson instead of net.sf.json.JSONObject (blacklisted starting from Jenkins 2.102+)
- Introduction of models and security improvements
In which cases should I use this Plugin?
If you are using a Jenkins v2.138.2 or later, you may have some problems with the older Bitbucket plugin. This uses the JSONObject, already blacklisted by the JEP-200, causing an exception UnsupportedOperationException: Refusing to marshal net.sf.json.JSONObject for security reasons