Update Jenkins java version
This commit is contained in:
parent
a5f7715bce
commit
3eac9b7965
|
@ -1,2 +1,2 @@
|
||||||
FROM jenkins/jenkins:jdk17
|
FROM jenkins/jenkins:jdk21
|
||||||
RUN jenkins-plugin-cli --plugins 'configuration-as-code:latest ssh-slaves:latest credentials-binding:latest subversion:latest job-dsl:latest pipeline-model-definition:latest pipeline-build-step:latest ansible:latest git:latest workflow-aggregator:latest docker-workflow:latest ws-cleanup:latest pipeline-graph-view:latest ssh-agent:latest matrix-auth:latest'
|
RUN jenkins-plugin-cli --plugins 'configuration-as-code:latest ssh-slaves:latest credentials-binding:latest subversion:latest job-dsl:latest pipeline-model-definition:latest pipeline-build-step:latest ansible:latest git:latest workflow-aggregator:latest docker-workflow:latest ws-cleanup:latest pipeline-graph-view:latest ssh-agent:latest matrix-auth:latest'
|
|
@ -2,10 +2,9 @@ services:
|
||||||
jenkins-controller:
|
jenkins-controller:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: jenkins.Dockerfile
|
dockerfile: Dockerfile.jenkins
|
||||||
environment:
|
environment:
|
||||||
- CASC_JENKINS_CONFIG=/jenkins.yml
|
- CASC_JENKINS_CONFIG=/jenkins.yml
|
||||||
- CASC_RELOAD_TOKEN=$CASC_RELOAD_TOKEN
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./jenkins.yml:/jenkins.yml
|
- ./jenkins.yml:/jenkins.yml
|
||||||
- ./id_rsa:/secrets/id_rsa
|
- ./id_rsa:/secrets/id_rsa
|
||||||
|
@ -17,7 +16,7 @@ services:
|
||||||
env_file: ./agent.env
|
env_file: ./agent.env
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: jenkins-agent.Dockerfile
|
dockerfile: Dockerfile.agent
|
||||||
args:
|
args:
|
||||||
DOCKER_GROUP: '${DOCKER_GROUP}'
|
DOCKER_GROUP: '${DOCKER_GROUP}'
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue