-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from oleg-nenashev/plugin-manager-tool
Update Dependencies + Switch the updates check flow to Plugin manager tool
- Loading branch information
Showing
6 changed files
with
86 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
Jenkins Config As Code Example.iml | ||
|
||
# Plugin installation manager dev tools | ||
jenkins-plugin-manager-*.jar | ||
tmp/ | ||
|
||
# IDE | ||
.classpath | ||
.project | ||
.settings | ||
.factorypath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
FROM jenkins/jenkins:2.164.1 | ||
ARG JENKINS_VERSION=2.238 | ||
FROM jenkins/jenkins:$JENKINS_VERSION | ||
MAINTAINER Oleg Nenashev <[email protected]> | ||
LABEL Description="This demo shows how to setup Jenkins Config-as-Code with Docker, Pipeline, and Groovy Hook Scripts" Vendor="Oleg Nenashev" Version="0.2" | ||
|
||
# Plugin Installation Manager | ||
ARG PLUGIN_MANAGER_TOOL_VERSION=1.0.2 | ||
RUN wget https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/plugin-management-parent-pom-$PLUGIN_MANAGER_TOOL_VERSION/jenkins-plugin-manager-$PLUGIN_MANAGER_TOOL_VERSION.jar -O /usr/share/jenkins/ref/jenkins-plugin-manager.jar | ||
|
||
ENV JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/experimental | ||
COPY plugins.txt /usr/share/jenkins/ref/plugins.txt | ||
COPY download-and-check-updates.sh /usr/local/bin/download-and-check-updates.sh | ||
RUN /usr/local/bin/download-and-check-updates.sh < /usr/share/jenkins/ref/plugins.txt | ||
RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt | ||
|
||
COPY init_scripts/src/main/groovy/ /usr/share/jenkins/ref/init.groovy.d/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.