Jenkins

From Chorke Wiki
Revision as of 01:50, 22 March 2020 by Shahed (talk | contribs) (Created page with "<source lang="bash"> df -h vcgencmd measure_temp wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb http://pkg.jenkins.io/deb...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
df -h
vcgencmd measure_temp

wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
apt update

apt list --upgradable
apt install git/stable
apt install jenkins/binary

systemctl start jenkins
systemctl status jenkins
systemctl enable jenkins
/lib/systemd/systemd-sysv-install enable jenkins

vcgencmd measure_temp
df -h

Admin User

cat /var/lib/jenkins/secrets/initialAdminPassword
ssh -L 8080:localhost:8080 [email protected]
http://localhost:8080

References