Is it possible for workflow-multibranch jobs to take parameters?
I have a similar requirement where I'd like a 'parent' workflow job to trigger some number of downstream child jobs, probably with something like (despite the warning in the snippet generator, I don't care to wait for the outcome or if it errors)
build job: 'DownstreamProject/branch', propagate: false, quietPeriod: 0, wait: false, parameters: [upstream:'${env.BUILD_NUMBER}']
Aaactually, what I'd *really* like is for a workflow build to fire an event on completion, and have arbitary downstream (multibranch) projects subscribe to those events.
Thus if my 'product, development' branch builds successfully, then my downstream 'customer config, development' projects automagically trigger a build based on these new artifacts that have become available.
I could probably lash something together in a custom plugin, but I don't know if this is catered for in an easy way?