Skip to content
New issue

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

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

Already on GitHub? # to your account

Passing an array to jenkins::plugin #429

Closed
joshuabaird opened this issue Nov 12, 2015 · 2 comments
Closed

Passing an array to jenkins::plugin #429

joshuabaird opened this issue Nov 12, 2015 · 2 comments

Comments

@joshuabaird
Copy link

I'm trying to do something like this:

$plugins = ['git', 'maven-plugin', 'blah']
jenkins::plugin { "$plugins": }

In this scenario, only 'blah' gets installed. 'git' and 'maven-plugin' are ignored and do not get installed. Is this expected?

@jhoblitt
Copy link
Member

That snippet is asking for a plugin named "git maven-plugin blah", which I doubt exists... ;)

@joshuabaird
Copy link
Author

Um, yeah. You are totally right. Sorry!

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

No branches or pull requests

2 participants