Yes, you can use a $VARIABLE in the branch to build

-- Sami

Erick Dovale <[email protected]> kirjoitti 3.2.2012 kello 7.11:

> The git plugin can be configured to build a specific branch. I am not sure if 
> this field will expand variables. You can try it by defining a parameter with 
> default value empty and putting in the branch specifier field for the git 
> plugin. 
> 
> On Thu, Feb 2, 2012 at 11:45 PM, Allen Bierbaum <[email protected]> wrote:
> I have a job setup that monitors one of our Git repositories and builds every 
> branch as it sees new code come in.  This works great and has been running 
> with no problems.
> 
> What I need now though is a way to force a build of a specific branch when I 
> use the manual "Build Now" button on the job.
> 
> I need this because we want to use this to start a parameterized build that 
> will push to our production servers when the build completes.
> 
> Is there any way to manually specify the branch for a Git build job to build?
> 
> -Allen
> 
> 

Reply via email to