Installing Jenkins Plugins to Docker Jenkins Installing Jenkins Plugins to Docker Jenkins linux linux

Installing Jenkins Plugins to Docker Jenkins


I can't read your screenshots, but you don't seem to be following the official instructions. See https://github.com/cloudbees/jenkins-ci.org-docker under "Installing more tools". Note:

  • You should save the plugins to /usr/share/jenkins/ref/plugins
  • You could use a plugins.txt file instead, which contains the names of your plug-ins, and you can process with the provided plugins.sh script. This looks like:
COPY plugins.txt /usr/share/jenkins/plugins.txtRUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/plugins.txt

I think the reason your approach wasn't working was to do with some processing in the start-up script.