Skip to content

Commit

Permalink
Revert Jenkins image to mainstream (#65)
Browse files Browse the repository at this point in the history
A newer job-dsl plugin has been released.
  • Loading branch information
clook authored Mar 18, 2019
1 parent 67cd439 commit 1f38844
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions jenkins/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
# Plugins pbuild
FROM openjdk:8 as builder
RUN git clone https://github.com/jenkinsci/job-dsl-plugin.git
RUN cd job-dsl-plugin && ./gradlew jpi
RUN pwd

# Jenkins build
FROM jenkins/jenkins:lts
COPY plugins.txt /usr/share/jenkins/ref/plugins.txt

# Manualy override verride job-dsl plugin
COPY --from=builder /job-dsl-plugin/job-dsl-plugin/build/libs/job-dsl.hpi /var/jenkins_home/plugins/job-dsl.jpi
RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt

0 comments on commit 1f38844

Please sign in to comment.