use jenkins via docker-compose

.env initial commit 1 year ago
.gitignore rename home to data 1 year ago
LICENSE.md initial commit 1 year ago
README.md add help 1 year ago
docker-compose.yml do not use deprecated container 1 year ago
install.sh add install script 1 year ago
jenkins.conf use supported jenkins version 1 year ago
README.md

jenkins via docker-compose

Configuration

Please see 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

License

cc-bc-sa: Please see license