Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » hudson hg clone --branch(hudson hg clone a branch)
hudson hg clone --branch [message #1425172] Wed, 17 September 2014 00:31 Go to next message
Lina Muryanto is currently offline Lina MuryantoFriend
Messages: 4
Registered: July 2014
Junior Member
Hi,
I am using hudson 3.1.2.
Is there a way to set the branch name when hudson is doing hg clone from
the source repository to the custom workspace?

What I want get hudson to do is:

hg clone --branch myBranchName myRepositoryPath myCustomWorkspace

I tried using the 'Branch' under Mercurial (Source Code Management), but
that seems to set --rev to myBranchName.
I also tried to use 'This build is parameterized' by having
a String Parameter,
Name: branch
DefaultValue: myBranchName

That did not seem to do what I want either.
Thanks in advance for any advice,
Lina
Re: hudson hg clone --branch [message #1426260 is a reply to message #1425172] Thu, 18 September 2014 13:34 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Moving this to the Hudson forum.
Previous Topic:Team Members Privilege Assignment
Next Topic:How to configure remote location deployment
Goto Forum:
  


Current Time: Sun Oct 06 17:46:04 GMT 2024

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

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

Back to the top