1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00

update jenkins/agent

This commit is contained in:
kev 2021-12-20 16:04:59 +08:00
parent fb1af55838
commit 0184014ad3
2 changed files with 3 additions and 2 deletions

@ -19,8 +19,8 @@ for (aSlave in hudson.model.Hudson.instance.slaves){
## up and running ## up and running
```bash ```bash
$ mkdir -p data $ mkdir -p data/agent
$ chown 1000:1000 data $ chown -R 1000:1000 data
$ docker-compose up -d $ docker-compose up -d
``` ```

@ -8,6 +8,7 @@ services:
container_name: docker-inbound-agent container_name: docker-inbound-agent
volumes: volumes:
- ./data:/home/jenkins - ./data:/home/jenkins
- ./data/agent:/home/jenkins/agent
environment: environment:
- JENKINS_URL=http://jenkins.easypi.pro:8080 - JENKINS_URL=http://jenkins.easypi.pro:8080
- JENKINS_SECRET=*************************** - JENKINS_SECRET=***************************