We would like to trigger a multibranch pipeline build whenever a file at a URL changes. We had a mechanism that worked, but a recent update broke that mechanism.
Here's what we had setup:
URLTrigger used to trigger a Freestyle build, named "Stage1"
Pipeline build that runs whenever "Stage1" build completes, called "Stage2"
Pipeline build starts multibranch pipeline build in its script.
This Rube Goldberg like series of steps were required because a Freestyle build can not start a Pipeline build, but a Pipeline build can be triggered by a Freestyle build. A multibranch pipeline build can not be triggered by a pipeline build, but a pipeline build can directly start a multibranch pipeline build.
At least, these used to be the rules. We upgraded to the latest LTS release (2.46.1 -> 2.46.2) and the ability for a pipleline build to be triggered by the completion of a Freestyle build now seems to be gone.
I can configure the Pipeline build to run when the Freestyle build complete, but it never actually triggers.
Ugh -- was hoping someone might know what the current rules are, or point me to a jira / bug. I'm not even sure where to file such a problem report, as I'm not sure if this is core Jenkins function, or something to do with the pipeline plugins.
Has anyone got a multibranch pipeline build triggered by a URL change? Maybe I need to completely redesign this workflow.
Thanks much,
Greg