Fix the configuration as code autoupdate

This commit is contained in:
retropikzel 2024-10-11 15:58:41 +03:00
parent e9f736736a
commit 7d17aaa249
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ jenkins:
launcher: launcher:
SSHLauncher: SSHLauncher:
host: "retropikzel.madhacker.biz" host: "retropikzel.madhacker.biz"
port: 5523 port: 5522
JavaPath: /home/jenkins/.sdkman/candidates/java/21.0.4-tem/bin/java JavaPath: /home/jenkins/.sdkman/candidates/java/21.0.4-tem/bin/java
credentialsId: agent_ssh credentialsId: agent_ssh
launchTimeoutSeconds: 60 launchTimeoutSeconds: 60

View File

@ -4,9 +4,9 @@ services:
context: . context: .
dockerfile: Dockerfile.jenkins dockerfile: Dockerfile.jenkins
environment: environment:
- CASC_JENKINS_CONFIG=/jenkins.yml - CASC_JENKINS_CONFIG=/config/jenkins.yml
volumes: volumes:
- ./jenkins.yml:/jenkins.yml - ./config:/config
- ./id_rsa:/secrets/id_rsa - ./id_rsa:/secrets/id_rsa
- ./adminpassword:/secrets/adminpassword - ./adminpassword:/secrets/adminpassword
- /home/jenkins/jenkins-data:/var/jenkins_home - /home/jenkins/jenkins-data:/var/jenkins_home