From 5739d2832c14a51743a25cb5974719d4bb927128 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 8 Jan 2019 12:26:12 -0700 Subject: Minor fixes, update readme --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 11b6af3..7aad680 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ # Docker Jenkins -`jenkins_home` needs 777 permissions +This is a jenkins repo for building some CI pipelines. + + +## Lessons Learned +- `/var/jenkins_home` probably needs 777 permissions +- `docker.sock` probably needs 777 permissions since user/groups get confused +- SSH creds can be generated by jenkins user. Git commands require those creds + added into `credentials` and if you have scripts that use ssh then you will + want to add those ssh creds to `publish over ssh` so that pipelines can ssh + into other machines +- Keep the filepath of `jenkins_home` the same on host and in container so if + you need volume mounts inside the container, they will be translated + correctly onto the host machine -- cgit v1.2.3