Public Repository

Last pushed: a year ago
Short Description
pull from jenkins official 1.642 01/02/2016
Full Description

apt-get update && apt-get upgrade
apt-get install python-pip vim less

or

wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py

pip install selenium browsermob-proxy

mkdir /var/jenkins_home && chown -R jenkins.jenkins /var/jenkins_home

docker run -d -p 8080:8080 -e TZ=UTC -e JENKINS_HOME=/var/jenkins_home -v ${PWD}/jenkins:/var/jenkins_home --name jenkins itboffin/jenkins

//
systemctl edit --full jenkins
[Unit]
Description=Jenkins job scheduler
Requires=node.service
After=node.service

[Service]
TimeoutStartSec=0
ExecStartPre=-/usr/bin/docker rm jenkins
ExecStart=/usr/bin/docker run -p 8080:8080 -e TZ=UTC -e JENKINS_HOME=/var/jenkins_home -v /home/user/jenkins:/var/jenkins_home -name jenkins itboffin/jenkins:tag
ExecStop=/usr/bin/docker stop jenkins

[Install]
WantedBy=multi-user.target
//

Docker Pull Command
Owner
itboffin

Comments (0)