Intro to Jenkins

  

Introduction to jenkins:

       Here in jenkins mainly we learn about 
  1.  freestyle project
  2. pipeline
  3. multibranch pipeline 
These are  few types of projects that mainly used in organizations and we also see how to configure web hooks using github

prerequisites for installation:

  • It requires operating system(linux or windows) but here we are using ubuntu for installation 
  • install java  then download jenkins.war from https://updates.jenkins-ci.org/download/war/
  • java installation :
  •  apt install default-jdk
  • now cd /opt/ && wget https://updates.jenkins-ci.org/download/war/2.169/jenkins.war 

 Installation:

    • cd /opt/
    • java -jar jenkins.war --enable-future-java
    • jenkins runs on port number 8080

Open browser and type http://localhost:8080
Then find the console output like this from copy the password shown in the terminal




'



This step takes sometime to complete




  •  Fill the details for admin user





    •  Installation of jenkins is completed.
    • Any issues in installation comment below.