I am trying to automatically run Branch Indexing in a Jenkins Multibranch Pipelines project.
Only one method actually works at the moment, which is polling, but I cannot do this, and polling is a bad solution anyway.
The plugin does not support "Trigger assemblies remotely (for example, from scripts)" (the parameters are not saved), so I can not start it using the web hook when clicked, etc.
I tried to build a freestyle “trigger” assembly on the repo, but “Actions after assembly” - “Building other projects” claims that the Multibranch Pipeline project is not a project that can be built.
If polling is the only way I can do this, then I need to disable SCM auto-launch (otherwise, we will get duplicates when re-indexing), because I need to activate the launch of the web hook in the branch projects.
But this does not work, because I configure the web hook on the script pipeline in the branch project, and you need to create it at least once in order to register this property.
I have been going around in a circle for some time, so I hope I just missed something obvious, but any help would be appreciated.
I imagined the opportunity to do one of the following
Greetings
source share