File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ USER jenkins
25
25
RUN echo "${JENKINS_VERSION}" > /usr/share/jenkins/ref/jenkins.install.UpgradeWizard.state
26
26
27
27
# We copy a list of plugins to install to the Jenkins ref directory in the image.
28
- COPY plugins.txt /usr/share/jenkins/ref/plugins.txt
28
+ COPY plugins.txt /usr/share/jenkins/ref/plugins.txt.override
29
29
30
30
# We use the Jenkins plugin CLI to install the plugins listed in the plugins.txt file.
31
- RUN jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt
31
+ RUN ln -s /usr/share/jenkins/ref/plugins.txt.override /usr/share/jenkins/ref/plugins.txt && jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt
32
32
33
33
# We copy a pre-configured Jenkins configuration file to the Jenkins ref directory in the image.
34
34
# This allows us to pre-configure Jenkins with our desired settings.
35
- COPY jenkins.yaml /usr/share/jenkins/ref/jenkins.yaml
35
+ COPY jenkins.yaml /usr/share/jenkins/ref/jenkins.yaml.override
You can’t perform that action at this time.
0 commit comments