Note that you can also find the ID of a plugin on the plugins.jenkins.io page for that plugin (e.g. https://plugins.jenkins.io/docker-workflow) - its ID is shown just below the plugin name header.
Richard. On Fri, Sep 14, 2018 at 12:00 AM Thomas Sundberg <[email protected]> wrote: > 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 <[email protected]> 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 [email protected]. > 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. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwek0EFfzzkZLzGtpLYd%2Bu1qk8h6KEwg_bTLvRjcP-Fc_A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
