Newer
Older
jenkins / README.md
@Pascal Gollor Pascal Gollor on 4 Jun 2017 959 bytes add help
# jenkins via docker-compose

## Configuration
Please see [`jenkins.conf`](jenkins.conf)

## Usage

Get files:
```
git clone https://gitbucket.pgollor.de/git/docker/jenkins.git
cd jenkins
```

Install:
```
./install.sh
```

Start container:
```
docker-compose up -d
```

Get secret for installaton:
```
docker-compose exec master-jenkins cat /var/jenkins_home/secrets/initialAdminPassword
```
or from your repository dir:
```
cat data/secrets/initialAdminPassword
```

Goto `http://localhost:8080`

### register host key
```
docker-compose exec master-jenkins ssh [SSH_HOST] -p [SSH_PORT]
```
If this does not work. Please look for a `ssh-rsa` or `ssh-dsa` key with:
```
ssh-keyscan -p [SSH_PORT] [SSH_HOST]
```

## Information
### ssh docker slave
- https://hub.docker.com/r/jenkinsci/ssh-slave/


## License
[![cc-bc-sa](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-sa/4.0/): Please see [license](LICENSE.md)