Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple projects #67

Open
maniesira opened this issue May 13, 2016 · 2 comments
Open

Support for multiple projects #67

maniesira opened this issue May 13, 2016 · 2 comments

Comments

@maniesira
Copy link

maniesira commented May 13, 2016

Hi @elvanja / @javiplx ,

I'm finding your plugin very useful but I was wondering if it is possible to have multiple projects trigger one generic Jenkins job.
For example, we have lots of Puppet modules (one module per repo) that undergo same set of unit tests. Therefore, it would be ideal to trigger a generic Jenkins job say Test_Puppet_Module and have the project.namespace and project.name as parameters which gets passed into the Git configuration as follows;
git@example.com:${project.namespace}/${project.name}.git
I know this is currently possible for multiple branches so was wondering if it can be applicable for projects. Maybe there is a better way to achieve this but thought I'll post this question.

Thank you in advance.
Regards,
Dinesh

@myzhan
Copy link

myzhan commented Jul 27, 2016

Hi @maniesira ,

I met the same problem, and I wrote a new plugin

In your case, you can use GITLAB_REPOSITORY_NAME and GITLAB_REPOSITORY_SSH_URL, provided by this plugin.

@myzhan
Copy link

myzhan commented Jul 27, 2016

Hi @elvanja / @javiplx ,

I prefer to contribute to this plugin, instead of starting a new plugin.

Trying to learn Ruby, and start contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants