AFAIK no, but you can create a feature request in Jenkins JIRA.

четверг, 23 ноября 2017 г., 12:55:47 UTC+3 пользователь Shiran написал:
>
> Hi,
> As explained here <https://jenkins.io/doc/book/pipeline/shared-libraries/>, 
> a library can be dynamically retrieved in the following way:
>
> library identifier: 'custom-lib@master', retriever: modernSCM(
>   [$class: 'GitSCMSource',
>    remote: 'g...@git.mycorp.com:my-jenkins-utils.git',
>    credentialsId: 'my-private-key'])
>
>
> Is there a way to load *multiple *libraries in the same command?
>
> For example, instead of: 
>
> library identifier: 'first-lib@master', retriever: modernSCM(
>   [$class: 'GitSCMSource',
>    remote: 'g...@git.mycorp.com:my-jenkins-utils.git',
>    credentialsId: 'my-private-key'])
>
> library identifier: 'second-lib@master', retriever: modernSCM(
>   [$class: 'GitSCMSource',
>    remote: 'g...@git.mycorp.com:my-jenkins-utils.git',
>    credentialsId: 'my-private-key'])
>
>
> I want to do something like this (not working):
>
> library identifier: ['first-lib@master', 'second-lib@master'], retriever: 
> modernSCM(
>
>   [$class: 'GitSCMSource',
>    remote: 'g...@git.mycorp.com:my-jenkins-utils.git',
>    credentialsId: 'my-private-key'])
>
>
>
> Thanks! :)
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d54b6f6c-adf7-4970-9d4e-dcae1ea20793%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to