Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Git plugin not working with branch names containing /
icon5.gif  Git plugin not working with branch names containing / [message #1577081] Wed, 21 January 2015 17:59 Go to next message
Henrik Lynggaard Hansen is currently offline Henrik Lynggaard HansenFriend
Messages: 8
Registered: November 2013
Junior Member
Hi

We have branch names which contain / but the git plugin doesn't seem to support them

Instead the cloning just ends with nothing to do
Started by user hlh005
Building on master
Checkout:workspace / /maerskwas/data/hudops/meta/hudson_workspaces/Git_plugin_test/workspace - hudson.remoting.LocalChannel@70b6d1e5
Using strategy: Default
Checkout:workspace / /maerskwas/data/hudops/meta/hudson_workspaces/Git_plugin_test/workspace - hudson.remoting.LocalChannel@70b6d1e5
Fetching changes from the remote Git repository
Fetching upstream changes from ssh://git@git.devops.apmoller.net:7999/closed/sandbox.git
Nothing to do
Finished: FAILURE
Re: Git plugin not working with branch names containing / [message #1578096 is a reply to message #1577081] Thu, 22 January 2015 07:25 Go to previous messageGo to next message
Lukasz Jader is currently offline Lukasz JaderFriend
Messages: 37
Registered: October 2013
Member
Hi, some times ago this issue was reported in Bugzilla:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431283

In first comment "Latha Amujuri" pointed a workaround, which works in most of the cases.

Yet still issue exists...
Re: Git plugin not working with branch names containing / [message #1694953 is a reply to message #1578096] Sun, 10 May 2015 16:42 Go to previous message
Henrik Lynggaard Hansen is currently offline Henrik Lynggaard HansenFriend
Messages: 8
Registered: November 2013
Junior Member
I found said workaround too, and is working find for me. Apparently Hudson believes the branch name to a a full <remote>/<branch> style when there is a slash

This is fine for me, since if it always prepend origin/ then you cannot specify alternative remote name.
Previous Topic:Unable to show latest console output
Next Topic:Code collaborator support
Goto Forum:
  


Current Time: Fri Aug 18 22:43:34 GMT 2017

Powered by FUDForum. Page generated in 0.03153 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software