Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Git url of repository with parameter
Git url of repository with parameter [message #1739909] Fri, 05 August 2016 15:49 Go to next message
Francois Le Fevre is currently offline Francois Le FevreFriend
Messages: 56
Registered: October 2014
Location: Paris Saclay, France
Member
Dear all
I have difficulty to setup our eclipse HIPP to match a git url of repository with a build parameter [1]

I have a build parameter COMPONENT_GIT_NAME
I am trying to inject it in the source code management plugin with git with
URL of repository:

/gitroot/papyrus/org.eclipse.papyrus-$COMPONENT_GIT_NAME.git
or
/gitroot/papyrus/org.eclipse.papyrus-${COMPONENT_GIT_NAME}.git

any idea how to use a build parameter in the url of repository?

Thanks

[1]: https://hudson.eclipse.org/papyrus/view/Component/job/papyrus-component-deploy-website/

Re: Git url of repository with parameter [message #1740026 is a reply to message #1739909] Mon, 08 August 2016 11:51 Go to previous messageGo to next message
Francois Le Fevre is currently offline Francois Le FevreFriend
Messages: 56
Registered: October 2014
Location: Paris Saclay, France
Member
Dear all,
I have also tested ${env.COMPONENT_GITNAME}, it does not work...
Any idea?
Thanks
Re: Git url of repository with parameter [message #1740063 is a reply to message #1740026] Mon, 08 August 2016 16:24 Go to previous message
Frederic Gurr is currently offline Frederic GurrFriend
Messages: 4
Registered: June 2010
Junior Member
Answered here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=499148#c4

BTW: The env-prefix is the default prefix in Ant for environment variables, but not in Hudson.
So ${env.SOMETHING} won't work in a Hudson job configuration field unless you define your parameter with the same prefix.
Previous Topic:Steps to migrate from v2.2.1 to 3.3.2 ?
Next Topic:How to specify different branches for job build using multiple git repositories?
Goto Forum:
  


Current Time: Mon Oct 07 06:15:15 GMT 2024

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

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

Back to the top