1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/jenkins/agent/README.md

23 lines
466 B
Markdown
Raw Normal View History

2020-09-23 09:54:24 +02:00
jenkins/inbound-agent
=====================
## how to
- Enable TCP port 50000 for inbound agents: http://jenkins:8080/configureSecurity/
- Create New Node: http://jenkins:8080/computer/
- Get Jenkins Secret: http://jenkins:8080/script/
```groovy
for (aSlave in hudson.model.Hudson.instance.slaves){
println aSlave.name + "," + aSlave.getComputer().getJnlpMac()
}
```
## up and running
```bash
$ mkdir -p data
$ chown 1000:1000 data
$ docker-compose up -d
```