Skip to main content



      Home
Home » Archived » Hudson » hudson hg clone --branch(hudson hg clone a branch)
hudson hg clone --branch [message #1425172] Tue, 16 September 2014 20:31 Go to next message
Eclipse UserFriend
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 09:34 Go to previous message
Eclipse UserFriend
Moving this to the Hudson forum.
Previous Topic:Team Members Privilege Assignment
Next Topic:How to configure remote location deployment
Goto Forum:
  


Current Time: Wed Jul 16 19:39:34 EDT 2025

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

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

Back to the top