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
|
## 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=***************************
|
||||||
|
Loading…
Reference in New Issue
Block a user