Just define the branch in the Git section of your Job's configuration:
Git > Branches to build > Branch Specifier (blank for default): > e.g. 
"origin/master"
/Domi

On 16.12.2012, at 21:40, Mirko Friedenhagen <mfriedenha...@gmail.com> wrote:

> Hello,
> 
> I publish my Maven site using the gh-pages branch on github. However,
> whenever I push the site Jenkins will start a build of the gh-pages
> branch which will fail, as this of course does not contain a valid
> Maven project. In the configuration of the git-plugin I do not see
> immediately how to exclude a specific branch.
> 
> Regards Mirko

Reply via email to