1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02: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

View File

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

View File

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