I am using a jenkinsfile with declarative syntax in each repo (in each branch in fact) to build each maven module. The build gets triggered from commits via webhooks in gitlab.
So far so good. Now when I commit changes to my project's API-module, I also want to trigger builds for all other modules, which use the API as upstream dependency.
So, the question is, (how) can I trigger downstream dependencies builds from other repositories via pipeline?
Any maven project available using declarative pipelines, which I could use as reference?