C2A-Installation-Server/docker/install-jenkins.sh
2019-04-05 14:02:19 +09:00

10 lines
265 B
Bash

mkdir /home/c2a/jenkins_home
chmod 777 /home/c2a/jenkins_home
docker run --detach \
--name jenkins \
--publish 8002:8080 \
--publish 50000:50000 \
--volume /var/jenkins_home:/var/jenkins_home \
--restart unless-stopped \
jenkins/jenkins:lts