Hi ! Not sure if this an issue. But after reading bitbucket plugin docs I am not clear if plugin works properly for jobs configured as Git SCM ( Git plugin ) with sub modules.
The history of this question is we have about ~ 300 bitbucket git repositories get together as git sub modules into a single git repository, lets call it MAIN repository. So obviously we *** don not want *** to have a 300 jenkins jobs ( each for every repo ) as every repo is just a logical unit of whole project/system, we want to trigger some actions when whatever repository listed as git submodule at MAIN repository is updated. So I have a following job setup:
- Git SCM for MAIN repository with sub modules update enabled
- Some builds steps to be taken when MAIN repos is updated ( read when one of git sub modules is updated )
I am till not sure if bitbucket plugin trigger my job build using so called URLs "loosely matching", as obviously those URLS - are git sub modules URLs , not MAIN repo one...