Skip to content

Latest commit

 

History

History
19 lines (19 loc) · 560 Bytes

03-Instalacja-Jenkinsa.md

File metadata and controls

19 lines (19 loc) · 560 Bytes

Metoda tradycyjna:

sudo apt-get install default-jre
sudo wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
sudo echo deb https://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list
sudo apt-get -y update
sudo apt-get -y install jenkins
sudo systemctl start jenkins
sudo systemctl status jenkins

Logowanie:

sudo cat /var/lib/jenkins/secrets/initialAdminPassword
http://jenkins:8080

Instalacja jako kontener

sudo docker run -p 8080:8080 -p 50000:50000 jenkins/jenkins:lts