Well, there are a few ways to do this: The Parameterized Trigger plugin lets you trigger one job from another and pass to that job a set of parameters. You can use the $BUILD_NUMBER and $JOB_NAME as parameters.
There is also the Build Flow plugin that provide a DSL for scripting job execution. It exposes some underlying Jenkins objects that you can fetch all kinds of information from and pass onto other jobs, again, as parameters. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Adam Mercer Sent: Tuesday, August 19, 2014 9:13 AM To: [email protected] Subject: Re: Getting metadata of another sub-project in Multijob project Can anyone offer any help regarding this? Or point to some useful documentation as the plugin documentation is not much help? Cheers Adam On Thu, Aug 14, 2014 at 3:21 PM, Adam Mercer <[email protected]> wrote: > Hi > > I'm trying to use the Multijob plugin write a series of jobs for > building a connected series of libraries. How can I pass appropriate > metadata from one project to subsequent projects. For example the > BUILD_NUMBER and the JOB_NAME? > > Or is the Multijob plugin not the best way to achieve this? > > Cheers > > Adam -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
