Bug 499433 - Git plugin do not expand properly the job parameter
Summary: Git plugin do not expand properly the job parameter
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: GIT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-09 07:49 EDT by Francois Le Fevre CLA
Modified: 2016-08-16 09:52 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Le Fevre CLA 2016-08-09 07:49:49 EDT
I fill here a bug on the Hudson/Git plugin component due to the advice of Frederic G. [1]
When using a job with build parameters [2], such as GIT_NAME, this parameter seems not to be correctly expanded in the Git plugin, Url of repositories, even if you use for instance: /gitroot/papyrus/org.eclipse.${GIT_NAME}.git or /gitroot/papyrus/org.eclipse.$GIT_NAME.git or /gitroot/papyrus/org.eclipse.${env.GIT_NAME}.git

We are trying to setup our job with a git parameter to allow to switch quickly of repository: we have several papayrus components that have exactly the same git architecture. so we want to be able to make the release just by allowing to put a git parameter to switch between those repositories and not to duplicate all jobs.

It seems the SVN plugin is able to use build parameter but not the git plugin?
or is it due to the fact we do not use the latest plugin version?

Thanks for your comments 



[1]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=499148
[2]: https://hudson.eclipse.org/papyrus/view/Component/job/papyrus-component-deploy-eclipse/24/
Comment 1 Mikaël Barbero CLA 2016-08-16 09:52:42 EDT
Moving to hudson project.