View Bitbucket Push and Pull Request on the plugin site for more information.
You must update Jenkins to v2.138.2 or later to run this plugin. For previous Jenkins versions, please use the Bitbucket Plugin.
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 version to v2.138.2 or later, you may have some problems with the actual 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** (see: <https://github.com/jenkinsci/bitbucket-plugin/search?q=JSONObject&unscoped_q=JSONObject> )