{"id":109,"date":"2018-08-07T12:15:53","date_gmt":"2018-08-07T06:45:53","guid":{"rendered":"http:\/\/nxglabs.in\/blog\/?p=109"},"modified":"2018-10-27T11:08:42","modified_gmt":"2018-10-27T05:38:42","slug":"install-jenkins-ubuntu","status":"publish","type":"post","link":"http:\/\/nxglabs.in\/etech\/install-jenkins-ubuntu\/","title":{"rendered":"How to Install Jenkins on Ubuntu?"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-286\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/jenkins-300x300.png\" alt=\"\" width=\"201\" height=\"201\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/jenkins-300x300.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/jenkins-150x150.png 150w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/jenkins-768x768.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/jenkins.png 800w\" sizes=\"(max-width: 201px) 100vw, 201px\" \/><\/p>\n<p>Installing Jenkins on Ubuntu! \u00a0This tutorial will take you through the basic steps of installing Jenkins on an Ubuntu. Before we begin, it\u2019s important to know about Jenkins:<\/p>\n<p><b>What is Jenkins?<\/b><\/p>\n<p><b>Jenkins <\/b><span style=\"font-weight: 400;\">is a continuous integration automation server, which is an open-source, self-contained and can be used to automate all tasks related to building, testing and deploying or delivering the application.<\/span><\/p>\n<p><strong>Pre-requisites:<\/strong><br \/>\nFor installation of Jenkins, following things you\u2019ll need:<br \/>\n<strong>1). A machine with:<\/strong><br \/>\n\u25e6 RAM:256 MB, but more than 512MB is recommended<br \/>\n\u25e6 Drive space: 10 GB minimum<\/p>\n<p><strong>2). The following software must be installed in the machine:<\/strong><br \/>\n\u25e6 Java JDK 8 (Java Development Kit)<\/p>\n<p><b>Here are the steps to install Jenkins on a Linux(Ubuntu):<\/b><\/p>\n<p><b>Step &#8211; 1:<\/b><span style=\"font-weight: 400;\"> First, add the Jenkins repository key to the system. After adding key, you will get the `OK` status as shown below:<\/span><\/p>\n<p><span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\">wget -q -O &#8211; https:\/\/pkg.jenkins.io\/debian-stable\/jenkins.io.key | <\/span>sudo<span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\"> apt-key add &#8211;<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-251 size-full\" title=\"Jenkins repository key\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img1.png\" alt=\"\" width=\"734\" height=\"488\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img1.png 734w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img1-300x199.png 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/p>\n<p><b>Step &#8211; 2: <\/b><span style=\"font-weight: 400;\">Next, append the Debian package repository address to the server\u2019s <\/span><b>sources.list<\/b><span style=\"font-weight: 400;\">:<\/span><\/p>\n<p>echo deb <span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\">http:\/\/pkg.jenkins.io\/debian-stable binary\/ | sudo tee \/etc\/apt\/sources.list.d\/jenkins.list<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-252 size-full\" title=\"Jenkins repository address \" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img2.png\" alt=\"\" width=\"734\" height=\"488\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img2.png 734w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img2-300x199.png 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/p>\n<p><b>Step &#8211; 3: <\/b><span style=\"font-weight: 400;\">Now to use new repository, you will need to update the system first and then Install Jenkins by using the following commands:<\/span><\/p>\n<blockquote><p>sudo apt-get update<\/p>\n<p>sudo apt-get install jenkins<\/p><\/blockquote>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-253 size-full\" title=\"install new repository\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img3.png\" alt=\"\" width=\"734\" height=\"488\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img3.png 734w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img3-300x199.png 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-254 size-full\" title=\"sudo apt-get install jenkins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img4.png\" alt=\"\" width=\"734\" height=\"488\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img4.png 734w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img4-300x199.png 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/a><\/p>\n<p><strong>Step &#8211; 4:<\/strong><span style=\"font-weight: 400;\"> To Start Jenkins use following commands :<\/span><\/p>\n<blockquote><p>sudo systemctl start jenkins<\/p>\n<p>sudo systemctl enable jenkins<\/p><\/blockquote>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-255 size-full\" title=\"commands to start Jenkins \" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img5.png\" alt=\"\" width=\"734\" height=\"488\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img5.png 734w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img5-300x199.png 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/a><\/p>\n<p><b>Step &#8211; 5: <\/b><span style=\"font-weight: 400;\">To open Jenkins enter the below link in the browser (Jenkins will install on port 8080 by default):<\/span><\/p>\n<p>http:\/\/localhost:8080\/<\/p>\n<p><b>Note: If Jenkin&#8217;s page is not opening, then you need to restart the system.<\/b><\/p>\n<p><b>Step &#8211; 6:<\/b><span style=\"font-weight: 400;\"> \u201c<\/span><b>Unlock Jenkins<\/b><span style=\"font-weight: 400;\">\u201d page will display after entering URL and will ask to enter administrator password:<\/span><\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img6.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-256\" title=\"Unlock Jenkins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img6.png\" alt=\"\" width=\"832\" height=\"474\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img6.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img6-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img6-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img6-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img6-800x456.png 800w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/a><\/p>\n<p><b>Step &#8211; 7:<\/b><span style=\"font-weight: 400;\"> To get the password use the below given command:<\/span><\/p>\n<p><b>sudo cat \/var\/lib\/jenkins\/secrets\/initialAdminPassword<\/b><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-743\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img7-e1535354794282.png\" alt=\"\" width=\"734\" height=\"488\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img7-e1535354794282.png 734w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img7-e1535354794282-300x199.png 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/p>\n<p><b>Step &#8211; 8:<\/b><span style=\"font-weight: 400;\"> Copy paste the password in \u201c<\/span><b>Administrator password field<\/b><span style=\"font-weight: 400;\">\u201d and then click on the <\/span><b>Continue button<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img8.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-258\" title=\"Administrator password field\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img8.png\" alt=\"\" width=\"833\" height=\"474\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img8.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img8-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img8-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img8-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img8-800x456.png 800w\" sizes=\"(max-width: 833px) 100vw, 833px\" \/><\/a><\/p>\n<p><b>Step &#8211; 9:<\/b><span style=\"font-weight: 400;\"> \u201c<\/span><b>Customize Jenkins<\/b><span style=\"font-weight: 400;\">\u201d option will display. Click on \u201c<\/span><b>Select plugins to install<\/b><span style=\"font-weight: 400;\">\u201d option to get the plugin installed.<\/span><\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img9.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-259\" title=\"Customize Jenkins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img9.png\" alt=\"\" width=\"832\" height=\"474\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img9.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img9-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img9-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img9-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img9-800x456.png 800w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/a><\/p>\n<p><b>Step &#8211; 10:<\/b><span style=\"font-weight: 400;\"> Install all the necessary plugins to use <\/span><b>Jenkins<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img10.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-260\" title=\"neccessary plugins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img10.png\" alt=\"\" width=\"832\" height=\"474\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img10.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img10-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img10-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img10-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img10-800x456.png 800w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-261\" title=\"Start Jenkins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img11.png\" alt=\"\" width=\"833\" height=\"474\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img11.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img11-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img11-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img11-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img11-800x456.png 800w\" sizes=\"(max-width: 833px) 100vw, 833px\" \/><\/p>\n<p><b>Step &#8211; 11: <\/b><span style=\"font-weight: 400;\">After completion of installation process, Account setup page will open.<\/span><\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img12.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-262\" title=\"create admin user- account setup\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img12.png\" alt=\"\" width=\"834\" height=\"475\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img12.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img12-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img12-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img12-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img12-800x456.png 800w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/a><\/p>\n<p><b>Step &#8211; 12:<\/b><span style=\"font-weight: 400;\"> You have to enter your valid credentials to create a new account. After filling all the details, click on the \u201cSave and Finish\u201d button.<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-737\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img13-e1535353397133.png\" alt=\"\" width=\"834\" height=\"475\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img13-e1535353397133.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img13-e1535353397133-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img13-e1535353397133-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img13-e1535353397133-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img13-e1535353397133-800x456.png 800w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/p>\n<p><b>Step &#8211; 13: <\/b><span style=\"font-weight: 400;\">Once your Jenkins account is created you can use Jenkins by clicking on \u201c<\/span><b>Start Using Jenkins<\/b><span style=\"font-weight: 400;\">\u201d button.<\/span><\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img14.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-264\" title=\"jenkins ready\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img14.png\" alt=\"\" width=\"832\" height=\"474\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img14.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img14-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img14-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img14-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img14-800x456.png 800w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/a><\/p>\n<p><strong>Step &#8211; 14:<\/strong><span style=\"font-weight: 400;\"> After successful completion of Jenkins setup wizard, you will be redirected to the Jenkins dashboard.<\/span><\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img014.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-275\" title=\"Jenkins dashboard\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img014.png\" alt=\"\" width=\"833\" height=\"475\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img014.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img014-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img014-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img014-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img014-800x456.png 800w\" sizes=\"(max-width: 833px) 100vw, 833px\" \/><\/a><\/p>\n<p><b>Well, after successful installation of Jenkins on an Ubuntu, it&#8217;s mandatory to go through &#8220;Settings&#8221; to set Jenkins.<\/b><\/p>\n<p><strong>Step &#8211; 1:<\/strong><span style=\"font-weight: 400;\"> Enter Jenkins URL in a browser, the Jenkins login page will open as shown in the image:<\/span><\/p>\n<p>http:\/\/localhost:8080\/<\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img24.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-265\" title=\"Jenkins Login page\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img24.png\" alt=\"\" width=\"832\" height=\"474\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img24.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img24-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img24-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img24-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img24-800x456.png 800w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/a><\/p>\n<p><b>Step &#8211; 2:<\/b><span style=\"font-weight: 400;\"> Enter your valid credentials to login in Jenkins.<\/span><\/p>\n<blockquote><p>Username: Your Jenkins account username<\/p>\n<p>Password: Your Jenkins account password<\/p><\/blockquote>\n<p><b>Step &#8211; 3:<\/b><span style=\"font-weight: 400;\"> If valid credentials are entered, then Jenkins dashboard will display.<\/span><\/p>\n<p><b>Step &#8211; 4<\/b><span style=\"font-weight: 400;\">: To use Jenkins you need to go through jenkins installation and configuration\u00a0settings :<\/span><\/p>\n<p>4.1 Click on Manage Jenkins<\/p>\n<p>4.2 Click on configure system<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Global properties:\n<ul>\n<li>Tool Locations(User need to set the path of git executable file):<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Name: Git Default<br \/>\nValue: usr\/bin\/git<\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img25.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-266\" title=\"Global properties - jenkins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img25.png\" alt=\"\" width=\"833\" height=\"474\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img25.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img25-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img25-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img25-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img25-800x456.png 800w\" sizes=\"(max-width: 833px) 100vw, 833px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img26.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-267\" title=\"configure system - jenkins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img26.png\" alt=\"\" width=\"834\" height=\"475\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img26.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img26-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img26-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img26-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img26-800x456.png 800w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/a><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Jenkins Location:\n<ul>\n<li>Jenkins URL: (It specifies the HTTP address of the Jenkins installation)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<blockquote><p>By default, its value will be http:\/\/localhost:8080\/.You can change its name from localhost to other names.<\/p><\/blockquote>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>System Admin e-mail address:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<blockquote><p>Notification e-mails from Jenkins to project owners will be sent with this address in the from the header.(Enter Email ID from which you want to send an email)<\/p><\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-738\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img27-e1535353549767.png\" alt=\"\" width=\"834\" height=\"475\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img27-e1535353549767.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img27-e1535353549767-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img27-e1535353549767-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img27-e1535353549767-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img27-e1535353549767-800x456.png 800w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Extended Email Notification-&gt;\n<ul>\n<li>Smtp server-&gt; smtp.gmail.com(Name of the mail server.)<\/li>\n<li>Click on Advanced option<\/li>\n<li>Use SMTP Authentication-&gt;Checked<\/li>\n<li>Username -&gt; Enter your Gmail Id<\/li>\n<li>Password -&gt; Enter your Gmail Id Password.<\/li>\n<li>Use SSL -&gt; Checked<\/li>\n<li>SMTP -&gt; 465(Port number for the mail server.)<\/li>\n<li>Charset -&gt; UTF-8<\/li>\n<li>Default recipients : ( Customize the default recipient list of the email notifications.)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>e.g. 1. abcd.xyz@gmail.com<br \/>\n2. cc:abcd.xyz@gmail.com<br \/>\n3. bcc:abcd.xyz@gmail.com<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-739\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img28-e1535353753218.png\" alt=\"\" width=\"834\" height=\"475\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img28-e1535353753218.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img28-e1535353753218-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img28-e1535353753218-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img28-e1535353753218-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img28-e1535353753218-800x456.png 800w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/p>\n<p><b>Note: You have to log in to your Gmail account from which you are sending the email notification.<\/b><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Email Notification:\n<ul>\n<li>Smtp server-&gt; smtp.gmail.com<\/li>\n<li>Click on Advanced option<\/li>\n<li>Use SMTP Authentication-&gt; Checked<\/li>\n<li>Username -&gt; Enter your Gmail Id<\/li>\n<li>Password -&gt; Enter your Gmail Id Password.<\/li>\n<li>Use SSL -&gt; Checked<\/li>\n<li>SMTP -&gt; 465(Port number for the mail server.)<\/li>\n<li>Charset -&gt; UTF-8<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-740\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img29-e1535353857549.png\" alt=\"\" width=\"834\" height=\"475\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img29-e1535353857549.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img29-e1535353857549-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img29-e1535353857549-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img29-e1535353857549-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img29-e1535353857549-800x456.png 800w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/p>\n<p>4.3 Click on <strong>Apply<\/strong> button.<\/p>\n<p>4.4 Click on the <strong>Save<\/strong> button.<\/p>\n<p>5. To use Jenkins you need to configure some <strong>Global Tool Configuration setting &#8211;<\/strong><\/p>\n<p>5.1 Click on Manage Jenkins<\/p>\n<p>5.2 Click on Global Tool configuration<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>JDK :(Set the Path of your Java JDK according to your project)\n<ol>\n<li>Click on Add JDK<\/li>\n<li>You can enter JDK path manually : (Set the path where your Java JDK is placed)<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\">Name: JAVA_HOME<\/span><\/p>\n<p><span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\">JAVA_HOME: \/<\/span>usr<span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\">\/lib\/<\/span>jvm<span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\">\/java-8-<\/span>openjdk<span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\">-amd64<\/span><\/p>\n<p><strong>Note: You can also Install JDK automatically by click on \u201cInstall automatically\u201d checkbox<\/strong><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Git :<em>( Set the path to git executable. This can be just &#8220;git&#8221; or complete path.)<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Name: Default<br \/>\nThe path to Git exe: git<\/p>\n<p><a href=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/img30.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-741\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img30-e1535353974945.png\" alt=\"\" width=\"834\" height=\"475\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img30-e1535353974945.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img30-e1535353974945-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img30-e1535353974945-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img30-e1535353974945-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img30-e1535353974945-800x456.png 800w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-742\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img52-e1535354269357.png\" alt=\"\" width=\"834\" height=\"475\" srcset=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img52-e1535354269357.png 1533w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img52-e1535354269357-300x171.png 300w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img52-e1535354269357-768x437.png 768w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img52-e1535354269357-1024x583.png 1024w, http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/img52-e1535354269357-800x456.png 800w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/p>\n<p>5.3 Click on <strong>Apply<\/strong> button<\/p>\n<p>5.4 Click on <strong>Save<\/strong> button<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing Jenkins on Ubuntu! \u00a0This tutorial will take you through the basic steps of installing Jenkins on an Ubuntu. Before we begin, it\u2019s important to know about Jenkins: What is Jenkins? Jenkins is a continuous integration automation server, which is an open-source, self-contained and can be used to automate all tasks related to building, testing &hellip;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[54,53,16,17,50,55,56,51,15,52],"_links":{"self":[{"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/posts\/109"}],"collection":[{"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/comments?post=109"}],"version-history":[{"count":103,"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/posts\/109\/revisions"}],"predecessor-version":[{"id":810,"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/posts\/109\/revisions\/810"}],"wp:attachment":[{"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/media?parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/categories?post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/tags?post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}