Jenkins

Our options are:

  • Install Jenkins via Docker
  • Install Jenkins on Linux
  • Install Jenkings on Windows

Download Jenkins for Docker

docker pull jenkins/jenkins

Download Jenkins for Centos

sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key

yum install jenkins

https://jenkins.io/download/thank-you-downloading-windows-installer

Download Jenkins for Window

https://jenkins.io/download/thank-you-downloading-windows-installer

Installation

We, of course, will install Jenkins for Centos; Jenkins own instructions are available at https://jenkins.io/doc/book/installing/

docker pull jenkinsci/blueocean

docker run \
  -u root \
  --rm \
  -d \
  -p 8080:8080 \
  -p 50000:50000 \
  -v jenkins-data:/var/jenkins_home \
  -v /var/run/docker.sock:/var/run/docker.sock \
  jenkinsci/blueocean

Post Install

$ cat /var/lib/docker/volumes/jenkins-data/_data/secrets/initialAdminPassword

Save the output

Go to http://localhost:8080

Enter the saved password and then “Continue”

I then installed the suggested plugins.

Create admin user

Enter your data
For these tests I’m happy with this address