C2A-Installation-Server/docker/install-jenkins.sh

10 lines
265 B
Bash
Raw Normal View History

2019-04-05 05:02:19 +00:00
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