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:
parent
fb1af55838
commit
0184014ad3
@ -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
|
||||
```
|
||||
|
||||
|
@ -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=***************************
|
||||
|
Loading…
Reference in New Issue
Block a user