> -----Original Message-----
> From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of dwalling
> Sent: Samstag, 21. April 2012 20:21
> To: Jenkins Users
> Subject: how to build a specific git branch with jenkins
>
> This is almost certainly a newbie question, so apologies in advance.
>
> I have a Jenkins maven job using Git scm that builds detached head.
> The branch specifier defaults to "**". When I put origin/master for the
> branch specifier I get

I think you just need to put master in there and not origin/master.

You have to add multiple fields if you want to build a set of branches, but not 
all.


Regards,

Sebastian

Software AG – Group Executive Board: Karl-Heinz Streibich 
(Vorsitzender/Chairman), Arnd Zinnhardt, Mark Edwards, Dr. Wolfram Jost, Kamyar 
Niroumand, Paul Orme-Smith, Darren Roos, Ivo Totev

Sitz/Registered office: Uhlandstraße 12, 64297 Darmstadt, Germany – 
Registergericht/Commercial register: Darmstadt HRB 1562 - Vorstand/ Management 
Board: Karl-Heinz Streibich (Vorsitzender/Chairman), Dr. Wolfram Jost, Arnd 
Zinnhardt; - Aufsichtsratsvorsitzender/ Chairman of the Supervisory Board: Dr. 
Andreas Bereczky - http://www.softwareag.com

Reply via email to