DevOps

LAB 11: Installing and Configuring Jenkins on Windows

DevOps

LAB 11: Installing and Configuring Jenkins on Windows

Step 1: JAVA Installation

Go to the browser and search for https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html and download the below file

2. Installing JDK

3. Go to System Properties and set Environment Variables

4. Verification

Step 2: Maven Installation

Go to the browser and search for http://maven.apache.org/download.cgi and download the below file

2. Create a new folder (DevTools) in C Drive and extract the zipped file to that location

3. Go to System Properties and set Environment Variables

4. Verification

Step 3: Jenkins Installation

NOTE: Before you install the Jenkins you need to restart your machines then only Java will be updated

Go to the browser and search for https://www.jenkins.io/ and download the below file

2. After downloading extract the zipped file and install the Jenkins

  • Click Next
  • Leave the default location (c:\Program Files (x86)\Jenkins\) and click Next
  • Click Install

3. After installing the Jenkins, go to the browser and put http://localhost:8080/login

Step 4: Jenkins Configuration

For the Administrator Password – go inside C:\Program Files (x86)\Jenkins\secrets and open the file (initialAdminPassword) in notepad

2. Under Customize Jenkins wizard select Install suggested plugins

3. Wait for the Plugins to be get installed

4. Create First Admin User then Save and Continue

5. Leave Jenkins URL on its default (http://localhost:8080/) and click Save and Finish

6. Jenkins setup is complete, click on Start using Jenkins

Step 5: Jenkins Dashboard