Skip to content

Commit 426afce

Browse files
Merge pull request #16 from oleg-nenashev/update-plugins
Update Jenkins core to 2.240 + Update plugin manager tool to 1.1.0 + Updaye all plugins to recent versions
2 parents f2a2c9b + a4c04c1 commit 426afce

File tree

3 files changed

+43
-16
lines changed

3 files changed

+43
-16
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG JENKINS_VERSION=2.239
1+
ARG JENKINS_VERSION=2.240
22
FROM jenkins/jenkins:$JENKINS_VERSION
33
MAINTAINER Oleg Nenashev <[email protected]>
44
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"

Makefile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
PLUGIN_MANAGER_TOOL_VERSION=1.0.2
2-
JENKINS_VERSION=2.238
1+
PLUGIN_MANAGER_TOOL_VERSION=1.1.0
2+
JENKINS_VERSION=2.240
33

44
build:
55
docker build -t onenashev/demo-jenkins-config-as-code .
@@ -17,10 +17,11 @@ tmp/jenkins.war:
1717
wget https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war -O tmp/jenkins.war
1818
touch tmp/jenkins.war
1919

20-
tmp/jenkins-plugin-manager.jar:
21-
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 tmp/jenkins-plugin-manager.jar
22-
touch tmp/jenkins-plugin-manager.jar
20+
tmp/jenkins-plugin-manager-${PLUGIN_MANAGER_TOOL_VERSION}.jar:
21+
mkdir -p tmp
22+
wget https://repo.jenkins-ci.org/releases/io/jenkins/plugin-management/plugin-management-cli/${PLUGIN_MANAGER_TOOL_VERSION}/plugin-management-cli-${PLUGIN_MANAGER_TOOL_VERSION}.jar -O tmp/jenkins-plugin-manager-${PLUGIN_MANAGER_TOOL_VERSION}.jar
23+
touch tmp/jenkins-plugin-manager-${PLUGIN_MANAGER_TOOL_VERSION}.jar
2324

24-
show-updates: tmp/jenkins-plugin-manager.jar tmp/jenkins.war
25+
show-updates: tmp/jenkins-plugin-manager-${PLUGIN_MANAGER_TOOL_VERSION}.jar tmp/jenkins.war
2526
mkdir -p tmp/plugins
26-
java -jar tmp/jenkins-plugin-manager.jar --list -f plugins.txt --no-download -d tmp/plugins -w tmp/jenkins.war --available-updates
27+
java -jar tmp/jenkins-plugin-manager-${PLUGIN_MANAGER_TOOL_VERSION}.jar --list -f plugins.txt --no-download -d tmp/plugins -w tmp/jenkins.war --skip-failed-plugins --verbose --available-updates

plugins.txt

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,86 @@
11
ace-editor:1.1
2+
analysis-model-api:8.1.3
3+
antisamy-markup-formatter:2.0
24
authorize-project:1.3.0
5+
blueocean-autofavorite:1.2.4
6+
blueocean-display-url:2.3.1
37
blueocean:1.23.2
8+
branch-api:2.5.6
49
cloud-stats:0.25
5-
cloudbees-folder:6.12
10+
cloudbees-bitbucket-branch-source:2.8.0
11+
cloudbees-folder:6.14
612
cobertura:1.16
713
code-coverage-api:1.1.6
14+
conditional-buildstep:1.3.6
815
configuration-as-code:1.41
16+
credentials-binding:1.23
17+
credentials:2.3.8
918
data-tables-api:1.10.21-1
19+
display-url-api:2.3.2
1020
docker-commons:1.16
1121
docker-workflow:1.23
22+
durable-task:1.34
1223
echarts-api:4.7.0-4
1324
email-ext:2.69
1425
extended-read-permission:3.2
1526
favorite:2.3.2
1627
filesystem_scm:2.1
1728
git-client:3.2.1
29+
git-server:1.9
1830
git:4.2.2
19-
github-api:1.112.0
20-
github-branch-source:2.8.0
31+
github-api:1.114.1
32+
github-branch-source:2.8.2
2133
github:1.30.0
34+
handy-uri-templates-2-api:2.1.8-1.0
35+
htmlpublisher:1.23
36+
icon-shim:2.0.3
2237
jackson2-api:2.11.0
23-
jacoco:3.0.4
38+
jacoco:3.0.6
2439
javadoc:1.5
2540
jdk-tool:1.4
41+
jira:3.1.0
2642
job-restrictions:0.8
2743
jsch:0.1.55.2
28-
junit:1.27
29-
icon-shim:2.0.3
44+
junit:1.29
3045
locale:1.4
3146
lockable-resources:2.8
3247
mailer:1.32
3348
manage-permission:1.0.1
3449
matrix-auth:2.6.1
50+
matrix-project:1.15
3551
maven-plugin:3.6
52+
mercurial:2.10
3653
momentjs:1.1.1
3754
monitoring:1.83.0
3855
ownership:0.12.1
39-
parallel-test-executor:1.12
56+
parallel-test-executor:1.13
4057
parameterized-trigger:2.36
4158
pipeline-build-step:2.12
59+
pipeline-input-step:2.11
4260
pipeline-model-definition:1.7.0
4361
pipeline-stage-tags-metadata:1.7.0
4462
pipeline-stage-view:2.13
45-
role-strategy:2.16
63+
plain-credentials:1.7
64+
role-strategy:3.0
4665
run-condition:1.3
4766
scm-api:2.6.3
67+
script-security:1.73
4868
security-inspector:0.5
4969
snakeyaml-api:1.26.4
70+
sse-gateway:1.23
5071
ssh-credentials:1.18.1
72+
ssh-slaves:1.31.2
5173
timestamper:1.11.3
5274
token-macro:2.12
75+
trilead-api:1.0.8
76+
variant:1.3
5377
warnings-ng:8.1.0
5478
workflow-basic-steps:2.20
79+
workflow-cps-global-lib:2.16
5580
workflow-cps:2.80
5681
workflow-durable-task-step:2.35
5782
workflow-job:2.39
5883
workflow-multibranch:2.21
5984
workflow-scm-step:2.11
85+
workflow-support:3.5
6086
yet-another-docker-plugin:0.2.0

0 commit comments

Comments
 (0)