Merge Check Plugin Help


Here is my scenario,

TRUNK based development

  1. Repo contains a file called Version that has a version number
  2. Want to ensure that the version number in ‘trunk’ is always incremented. If a feature branch has version number ‘less’ than the ‘trunk’, the merge request should fail.

I guess i would need a ‘Repository Merge Check’ plugin to do the same.

Are there any ‘free/community’ plugins that i can use for same without developing one ?

If not, any guidelines, example code for developing ‘Repository Merge Check’ plugins ? I am fairly new to bitbucket development.


Try to use this example