Hi! This is partly answering my own question:
Install the plugin you want to try. Run the script Jenkins.instance.pluginManager.plugins.each{ plugin -> println ("${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}") } Locate the short name of the plugin you want to deploy and add it to the Dockerfile. In this particular case, look for the line Docker Pipeline (docker-workflow): 1.17 and add RUN /usr/local/bin/install-plugins.sh docker-workflow in your Dockerfile. Clumsy? Yes Did it work? Yes What would you like? A section at the page https://wiki.jenkins.io/display/JENKINS/Docker+Pipeline+Plugin stating that the command line name for this plugin is docker-workflow Cheers, Thomas On Thu, 13 Sep 2018 at 13:42, Thomas Sundberg <t...@kth.se> wrote: > > Hi! > > I am creating a Jenkins installation from a Dockerfile. I want to > specify all plugins so they are available when the image is built. > > This typically looks like many lines like this: > > RUN /usr/local/bin/install-plugins.sh greenballs > > Is there a way to find the proper name for each plugin? I am currently > looking for the proper name for the Docker Pipeline > Plugin,https://wiki.jenkins.io/display/JENKINS/Docker+Pipeline+Plugin > > Cheers, > Thomas > > -- > Thomas Sundberg > M. Sc. in Computer Science > > Mobile: +46 70 767 33 15 > Blog: http://www.thinkcode.se/blog > Twitter: @thomassundberg > > Better software through faster feedback -- Thomas Sundberg M. Sc. in Computer Science Mobile: +46 70 767 33 15 Blog: http://www.thinkcode.se/blog Twitter: @thomassundberg Better software through faster feedback -- 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/CACpkv-x3VCcC8sWiDqMT%2BDUpPej09cZL7aKXQYQ20zjzENMoxQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.