On Tue, Mar 6, 2012 at 11:18 PM, Didier Durand <[email protected]> wrote:
>
> You can insert env variables in your paths on Jenkins SCM section in
> job configuration
>
> So, what you can do to avoid recreating jobs for branches is to put a
> variable for the path of the branch and set the value of the variable
> just before lanching build step ot the job. [I use this technique to
> be able to easily change at at once the URL root of the source code I
> am building in my jobs]
>
> Something that I didn't try is to use a matrix job to set this
> variable successively to various values (all the possible branch
> names) and then have Jenkins run them automatically but the odds are
> good that it should work.

How do you set something different other than the build host/label for
the matrix axis?

-- 
  Les Mikesell
     [email protected]

Reply via email to