1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00
dockerfiles/jenkins/agent/README.md

23 lines
466 B
Markdown
Raw Normal View History

2020-09-23 07:54:24 +00: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
```