| We are using the Bitbucket branch source plugin to manage our jobs. To trigger a project rescan (after pull requests ect) we are firing a webhook that is received by the multibranch-scan-webhook-trigger plugin. Now for a normal multibranch-project this would work just fine, but the Bitbucket plugin doesn't let us control the settings of the subproject- so all branches in all projects are rescanned, which is quite a long process. Therefore i wanted to ask if there is a possibility to automatically map the received token to a folder name? e.g. i have a Bitbucket account with two repositories, A and B. Using the Bitbucket plugin both will show up in jenkins under the organizational folder. It would be great if there was a way to just trigger the webhook with "token=A", to trigger a rescan of project A. At the moment i am only able to configure one webhook-token for the root-folder, which would trigger a rescan for both A and B. Any thoughts on this? I looked through the code a bit, i think it would be feasable without too much work, but i don't have any experience in building plugins.. |