{"id":91,"date":"2018-08-06T15:34:49","date_gmt":"2018-08-06T10:04:49","guid":{"rendered":"http:\/\/nxglabs.in\/blog\/?p=91"},"modified":"2018-10-27T11:06:22","modified_gmt":"2018-10-27T05:36:22","slug":"install-jenkins-windows","status":"publish","type":"post","link":"https:\/\/nxglabs.in\/etech\/install-jenkins-windows\/","title":{"rendered":"How to install Jenkins on Windows?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">In this tutorial, you will have a walk-through to the installation and setup process of Jenkins continuous integration software on the Windows operating system. Before we begin the installation process of Jenkins, let&#8217;s know something about Jenkins:<\/span><\/p>\n<h3 style=\"text-align: center;\"><b>Introduction to Jenkins:<\/b><\/h3>\n<p><b>Jenkins<\/b><span style=\"font-weight: 400;\">!! \u00a0Jenkins is used everywhere for Continuous Integration(CI) server. Jenkins is an automation server for continuous delivery to build the application. By using this we can build, test and deploy the software. Jenkins is freeware software, we can use this software for any operating system.<br \/>\n<\/span>e.g.Windows, Ubuntu etc.<\/p>\n<p><b>To install this software on windows we need some Prerequisites-<\/b><strong>\u00a0<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">We need minimum 10 GB of drive space of the computer.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The most important to install Jenkins, we need Java installed properly on the system.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">We can get the Java on this link \u2013 [ Compulsory ]<br \/>\n<\/span><a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\"><span style=\"font-weight: 400; color: #ff6600;\" data-darkreader-inline-color=\"\">http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html<\/span><\/a><\/li>\n<\/ul>\n<p><b>There are two ways to download Jenkins software-<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">We can download it as \u201c<\/span><b>.msi<\/b><span style=\"font-weight: 400;\">\u201d file or \u201c<\/span><b>.war<\/b><span style=\"font-weight: 400;\"> \u201d file.<\/span><\/li>\n<\/ul>\n<p><b>A] .msi file<\/b><span style=\"font-weight: 400;\"> &#8211; [ We need to select a file as per operating system. Here we are going to select for Windows OS ]<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\"><a style=\"color: #ff6600;\" href=\"https:\/\/jenkins.io\/download\/\" data-darkreader-inline-color=\"\"><span style=\"font-weight: 400;\">https:\/\/jenkins.io\/download\/<\/span><\/a><\/span><\/li>\n<\/ul>\n<p><b>B] .war &#8211;<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/jenkins.io\/doc\/book\/installing\/\"><span style=\"font-weight: 400; color: #ff6600;\" data-darkreader-inline-color=\"\">https:\/\/jenkins.io\/doc\/book\/installing\/<\/span><\/a><\/li>\n<\/ul>\n<p>Let\u2019s get started with the installation process of Jenkins on Windows operating system.<\/p>\n<p><strong>Steps To Install :<\/strong><\/p>\n<p><b>1] JDK (Java SE Development Kit) &#8211; [ Compulsory ] <\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Before installing Jenkins on the system first we need to install Java in the system.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Go to the URL of Java software and download it as per the operating system i.e. Windows.<\/span><\/li>\n<\/ul>\n<figure id=\"attachment_316\" aria-describedby=\"caption-attachment-316\" style=\"width: 1942px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-316 size-full\" title=\"Java SE Development Kit\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/2-2.jpg\" alt=\"\" width=\"1942\" height=\"1000\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/2-2.jpg 1942w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/2-2-300x154.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/2-2-768x395.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/2-2-1024x527.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/2-2-800x412.jpg 800w\" sizes=\"(max-width: 1942px) 100vw, 1942px\" \/><figcaption id=\"caption-attachment-316\" class=\"wp-caption-text\">Java SE Development Kit<\/figcaption><\/figure>\n<p><span style=\"font-weight: 400;\">Link: <\/span><span style=\"font-weight: 400; color: #ff6600;\" data-darkreader-inline-color=\"\"><a style=\"color: #ff6600;\" href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\" data-darkreader-inline-color=\"\">http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html<\/a><br \/>\n<\/span><\/p>\n<ul>\n<li>After successfully download the software we need to install in the system.<\/li>\n<li>Once the installation is done completely we need to set\u00a0an environmental variable in the\u00a0system.<\/li>\n<li>To set the <strong>environmental\u00a0variable<\/strong> we have to follow some steps-\n<ul>\n<li>Go to the Control Panel &#8212;&gt;All Control Panel Items &#8211;&gt;System.<\/li>\n<li>Click on Advanced System Settings<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-288 size-full\" title=\"Control Panel - Jenkins \" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/3.jpg\" alt=\"\" width=\"1175\" height=\"690\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/3.jpg 1175w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/3-300x176.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/3-768x451.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/3-1024x601.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/3-800x470.jpg 800w\" sizes=\"(max-width: 1175px) 100vw, 1175px\" \/><\/p>\n<ul>\n<li>In the System properties, click on the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.<\/li>\n<li>Give the complete path of Java by creating or editing Java_Home.<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-289 size-full\" title=\"Java_Home\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/4.jpg\" alt=\"\" width=\"1352\" height=\"717\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/4.jpg 1352w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/4-300x159.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/4-768x407.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/4-1024x543.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/4-800x424.jpg 800w\" sizes=\"(max-width: 1352px) 100vw, 1352px\" \/><\/p>\n<p><b>2] Let\u2019s begin with Jenkins Installation:<br \/>\n<\/b><b><\/b><\/p>\n<p style=\"padding-left: 30px;\"><b>a) Download and install \u201cJenkins.msi\u201d file.<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">To download Jenkins go to Jenkins official link (Download as per the Operating System \u2013 Windows) <\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Link: <\/span><a href=\"https:\/\/jenkins.io\/download\/\"><span style=\"font-weight: 400; color: #ff6600;\" data-darkreader-inline-color=\"\">https:\/\/jenkins.io\/download\/<\/span><\/a><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">After successful download of .zip file, extract that file and you will get Jenkins.msi file.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click on Jenkins.msi file.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Select the path of the computer for the destination folder.<\/span><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-290 size-full\" title=\"Destination Folder\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image5.png\" alt=\"\" width=\"483\" height=\"385\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image5.png 483w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image5-300x239.png 300w\" sizes=\"(max-width: 483px) 100vw, 483px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-291 size-full\" title=\"Jenkins 2.107.2\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image6.png\" alt=\"\" width=\"494\" height=\"382\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image6.png 494w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image6-300x232.png 300w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-292 size-full\" title=\"Install Jenkins 2.107.2(2)\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image7.png\" alt=\"\" width=\"493\" height=\"385\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image7.png 493w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image7-300x234.png 300w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-293 size-full\" title=\"Jenkins setup wizard\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image8.png\" alt=\"\" width=\"491\" height=\"380\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image8.png 491w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image8-300x232.png 300w\" sizes=\"(max-width: 491px) 100vw, 491px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-294 size-full\" title=\"setup wizard install 2\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image9.png\" alt=\"\" width=\"492\" height=\"379\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image9.png 492w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image9-300x231.png 300w\" sizes=\"(max-width: 492px) 100vw, 492px\" \/><\/p>\n<ul>\n<li>Here Jenkins asks the Initial Admin Password.<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-295 size-full\" title=\"Unlock Jenkins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image10.png\" alt=\"\" width=\"1359\" height=\"671\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image10.png 1359w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image10-300x148.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image10-768x379.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image10-1024x506.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image10-800x395.png 800w\" sizes=\"(max-width: 1359px) 100vw, 1359px\" \/><\/p>\n<ul>\n<li>To get the <strong>Initial Admin Password<\/strong> to go\u00a0to computer path i.e. <strong>c:\\Program Files (x86)\\Jenkins\\secrets<\/strong><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-296 size-full\" title=\"initialadminpassword\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image11.png\" alt=\"\" width=\"953\" height=\"474\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image11.png 953w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image11-300x149.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image11-768x382.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image11-800x398.png 800w\" sizes=\"(max-width: 953px) 100vw, 953px\" \/><\/p>\n<ul>\n<li>Open <strong>InitialAdminPassword<\/strong> file<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-297 size-full\" title=\"initial admin password \" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image12.png\" alt=\"\" width=\"815\" height=\"480\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image12.png 815w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image12-300x177.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image12-768x452.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image12-800x471.png 800w\" sizes=\"(max-width: 815px) 100vw, 815px\" \/><\/p>\n<ul>\n<li>Copy the Initial Admin Password<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-298 size-full\" title=\"Jenkins password\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image13.png\" alt=\"\" width=\"924\" height=\"519\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image13.png 924w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image13-300x169.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image13-768x431.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image13-800x449.png 800w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><\/p>\n<ul>\n<li>Paste <span style=\"font-weight: 400;\">it into \u201cAdministrator Password\u201d section.<\/span><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-299 size-full\" title=\"administrator password\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image14.png\" alt=\"\" width=\"1365\" height=\"715\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image14.png 1365w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image14-300x157.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image14-768x402.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image14-1024x536.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image14-800x419.png 800w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">After filling the password, just proceed with the continue button. Now, install the plug-ins which are useful for Jenkins tool.<\/span><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-300 size-full\" title=\"Jenkins plugins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image15.png\" alt=\"\" width=\"1366\" height=\"706\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image15.png 1366w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image15-300x155.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image15-768x397.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image15-1024x529.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image15-800x413.png 800w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Jenkins will start to <\/span><b>install Default plugins<\/b><span style=\"font-weight: 400;\"> and <\/span><b>required plugins.<\/b><\/li>\n<\/ul>\n<p><b>Here are the details of required\u00a0Jenkins plugins: <\/b><\/p>\n<p><strong>1. Git Plugin:<\/strong>\u00a0Git plug-in is used to build the application. It basically works as a build SCM(software Configuration management), including different repositories. It also includes Master as well as Staging type of branches.<\/p>\n<p><strong>2. Gradle Plugin:<\/strong>\u00a0Gradle plug-in mostly\u00a0used to build the script as the main step for android applications. It is mostly used to build and create the android applications.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-303 size-full\" title=\"Gradle Plugin - Jenkins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image18.png\" alt=\"\" width=\"1349\" height=\"670\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image18.png 1349w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image18-300x149.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image18-768x381.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image18-1024x509.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image18-800x397.png 800w\" sizes=\"(max-width: 1349px) 100vw, 1349px\" \/><\/p>\n<p><strong>3. BitBucket Approve Plugin:\u00a0<\/strong>This is useful for approve commits on Bitbucket after successful builds.<\/p>\n<p><strong>4. <b>Email Extension Plugin:<\/b><\/strong>\u00a0<span style=\"font-weight: 400;\">Email extension plugin in used to get the notification about the build. By using this plugin, we can set the content for the email along with that, we can specify email subject and email body.\u00a0<\/span><span style=\"font-weight: 400;\">By adding recipient list we can send the notification to the users, select the conditions that should cause an email notification to be sent and we can also send the latest apk if build succeeds.<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-302 size-full\" title=\"Jenkins_plugins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image17.png\" alt=\"\" width=\"1340\" height=\"668\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image17.png 1340w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image17-300x150.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image17-768x383.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image17-1024x510.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image17-800x399.png 800w\" sizes=\"(max-width: 1340px) 100vw, 1340px\" \/><\/p>\n<p><strong>5. <b>msbuild-Gradle Plugin:\u00a0<\/b><\/strong>Gradle plug-in mostly\u00a0used to build the script as the main step for .Net Applications. It is mostly used to build and create .Net applications. It is mostly to use MSBuild to build .NET projects.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-304 size-full\" title=\"Jenkins plugin msbuild \" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image19.png\" alt=\"\" width=\"1361\" height=\"668\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image19.png 1361w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image19-300x147.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image19-768x377.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image19-1024x503.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image19-800x393.png 800w\" sizes=\"(max-width: 1361px) 100vw, 1361px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-305\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image20.png\" alt=\"\" width=\"1358\" height=\"668\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image20.png 1358w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image20-300x148.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image20-768x378.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image20-1024x504.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image20-800x394.png 800w\" sizes=\"(max-width: 1358px) 100vw, 1358px\" \/><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Once after completing Installation of plug-ins, then it will ask to create admin user as shown in given image:<\/span><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-306 size-full\" title=\"Create admin user - jenkins\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image21.png\" alt=\"\" width=\"1348\" height=\"660\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image21.png 1348w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image21-300x147.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image21-768x376.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image21-1024x501.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image21-800x392.png 800w\" sizes=\"(max-width: 1348px) 100vw, 1348px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The user has to type Username, Password, Confirm password, Full Name, and E-Mail address. After that click on Save and Continue button.<\/span><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-716\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image22.png\" alt=\"\" width=\"1366\" height=\"666\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image22.png 1366w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image22-300x146.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image22-768x374.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image22-1024x499.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image22-800x390.png 800w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>After successful installation of Jenkins, we will able to see Jenkins Local Dashboard. It always runs on Localhost.<br \/>\n<span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\">http:\/\/localhost:8080\/<\/span><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-717\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image23.png\" alt=\"\" width=\"1363\" height=\"684\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image23.png 1363w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image23-300x151.png 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image23-768x385.png 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image23-1024x514.png 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image23-800x401.png 800w\" sizes=\"(max-width: 1363px) 100vw, 1363px\" \/><\/p>\n<ol>\n<li><b>B) Download and install \u201cJenkins.war\u201d file.<\/b><\/li>\n<\/ol>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">To download the \u201c.war\u201d file for Jenkins, go to the below URL<\/span><\/span>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\"><a href=\"https:\/\/jenkins.io\/doc\/book\/installing\/\">https:\/\/jenkins.io\/doc\/book\/installing\/<\/a><br \/>\n<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">To get the <\/span><b>.war<\/b><span style=\"font-weight: 400;\"> file download the latest <\/span><b>.war<\/b><span style=\"font-weight: 400;\"> .<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">After downloading the file, open a command prompt of the computer, go to the folder where it is present.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Then type command to <\/span>run and install<span style=\"font-weight: 400;\"> the Jenkins on the System.<br \/>\n<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\">Command:<b> java -jar Jenkins .war<\/b><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Once this command runs, go to the browser and type localhost:8080.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It will ask for the Initial Admin Password.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Now, follow the rest steps as explained in the above post i.e. <\/span><b>Section A <\/b><span style=\"font-weight: 400;\">for \u201c<\/span><b>Jenkin.msi<\/b><span style=\"font-weight: 400;\">\u201d file.<\/span><\/li>\n<\/ul>\n<h3><b>Basic Configuration of Jenkins:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Before starting to build for an <\/span><b>Android <\/b><span style=\"font-weight: 400;\">or <\/span><b>.net <\/b><span style=\"font-weight: 400;\">application we have to set some configuration on Jenkins server. For that, we need to do some settings in <\/span>the <b>Manage Jenkins<\/b><span style=\"font-weight: 400;\"> section.<\/span><\/p>\n<ul>\n<li><b>Manage Jenkins-Configure System:<\/b><\/li>\n<\/ul>\n<ol>\n<li><b> Global Properties:<\/b><\/li>\n<\/ol>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Here we have to check the \u201c<\/span><b>Environment Variables\u201d <\/b><span style=\"font-weight: 400;\">and after that set the environmental path as android sdk.<br \/>\n<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\">Name: ANDROID_HOME\/SDK_HOME (Anything whichever you have already set on the computer)<\/li>\n<li>Value: C:\\Users\\ComputerName\\AppData\\Local\\Android\\sdk<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-336 size-full\" title=\"Global properties\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image24.jpg\" alt=\"\" width=\"1339\" height=\"292\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image24.jpg 1339w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image24-300x65.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image24-768x167.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image24-1024x223.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image24-800x174.jpg 800w\" sizes=\"(max-width: 1339px) 100vw, 1339px\" \/><\/p>\n<p><strong>B. Jenkins Location<\/strong><\/p>\n<ul>\n<li>Here we can create the URL for Jenkins server by using server name and port id.\n<ul>\n<li>Jenkins URL&#8211; <span style=\"color: #ff6600;\" data-darkreader-inline-color=\"\">http:\/\/192.168.0.118:8080\/<\/span> (Here we can set the IP address of our computer with Jenkins port id: 8080)<\/li>\n<li>System Admin e-mail address: youremailid@youremailid.in<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-718\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image25.jpg\" alt=\"\" width=\"1349\" height=\"183\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image25.jpg 1349w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image25-300x41.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image25-768x104.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image25-1024x139.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image25-800x109.jpg 800w\" sizes=\"(max-width: 1349px) 100vw, 1349px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>C. Extended E-mail Notification<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In this section, we can set the settings for Email notifications(Refer E-MAIL NOTIFICATION Plugin).<\/span><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-719\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image26.jpg\" alt=\"\" width=\"1336\" height=\"690\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image26.jpg 1336w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image26-300x155.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image26-768x397.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image26-1024x529.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image26-800x413.jpg 800w\" sizes=\"(max-width: 1336px) 100vw, 1336px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>D. E-mail Notification<\/strong><\/p>\n<ul>\n<li>we can set the settings for Email notifications<\/li>\n<li>SMTP server: smtp.gmail.com<br \/>\nDo check if it is unchecked -as Use SMTP Authentication<\/li>\n<li>User Name: youremailid@youremailid.in<\/li>\n<li>Password: type password of email id<br \/>\nDo check if it is unchecked -as Use SSL<\/li>\n<li>SMTP Port: Give port as 465 which is mostly used for SMTP of email notification.<br \/>\nChar set: UTF-8<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-720\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image27.jpg\" alt=\"\" width=\"1326\" height=\"686\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image27.jpg 1326w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image27-300x155.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image27-768x397.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image27-1024x530.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image27-800x414.jpg 800w\" sizes=\"(max-width: 1326px) 100vw, 1326px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>E. Bit Bucket Approve:<\/strong><\/p>\n<ul>\n<li>User &#8211; Email id of Bit bucket<\/li>\n<li>Password: type password of email-id<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-715\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image28.jpg\" alt=\"\" width=\"1322\" height=\"376\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image28.jpg 1322w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image28-300x85.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image28-768x218.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image28-1024x291.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/08\/Image28-800x228.jpg 800w\" sizes=\"(max-width: 1322px) 100vw, 1322px\" \/><\/p>\n<p><strong>2. Global Tool Configuration<\/strong><\/p>\n<p><strong>A. JDK<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Here we have to give environmental path under JDk section.<\/span><br \/>\nName : JDK 8 (give name of JDK)<br \/>\nJAVA_HOME: C:\\Program Files\\Java\\jdk1.8.0_112 (Give environmental path)<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-341 size-full\" title=\"java tool configuration\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image29.jpg\" alt=\"\" width=\"1339\" height=\"697\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image29.jpg 1339w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image29-300x156.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image29-768x400.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image29-1024x533.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image29-800x416.jpg 800w\" sizes=\"(max-width: 1339px) 100vw, 1339px\" \/><\/p>\n<p><strong>B. Git<\/strong><\/p>\n<ul>\n<li>Here we have to give Git&#8217;s Set environmental path as:<br \/>\nName : Default (give name of Git)<br \/>\nPath to Git executable: C:\\Program Files\\Git\\cmd\\git.exe (Give the environmental path)<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-342 size-full\" title=\"GIT environmental path\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image30.jpg\" alt=\"\" width=\"1339\" height=\"684\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image30.jpg 1339w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image30-300x153.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image30-768x392.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image30-1024x523.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image30-800x409.jpg 800w\" sizes=\"(max-width: 1339px) 100vw, 1339px\" \/><\/p>\n<p><strong>C. Gradle<\/strong><\/p>\n<ul>\n<li>Here we have to give Gradle&#8217;s Set environmental path.<br \/>\nName : Gradle 4.2<br \/>\nGRADLE_HOME: <strong>C:\\Users\\ComputerName\\gradle-4.2.1<\/strong><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-343 size-full\" title=\"Gradle set environmental path\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image31.jpg\" alt=\"\" width=\"1339\" height=\"386\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image31.jpg 1339w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image31-300x86.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image31-768x221.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image31-1024x295.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image31-800x231.jpg 800w\" sizes=\"(max-width: 1339px) 100vw, 1339px\" \/><\/p>\n<p><strong>D. MsBuild<\/strong><\/p>\n<ul>\n<li>Here we have to give MsBuild&#8217;s Set environmental path.<br \/>\nName: MSBuild .NET v4.0<br \/>\nPath to MSBuild:\u00a0<strong>C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319<\/strong><\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-344 size-full\" title=\"msbuild set environmental path\" src=\"http:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image32.jpg\" alt=\"\" width=\"1339\" height=\"377\" srcset=\"https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image32.jpg 1339w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image32-300x84.jpg 300w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image32-768x216.jpg 768w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image32-1024x288.jpg 1024w, https:\/\/nxglabs.in\/etech\/wp-content\/uploads\/2018\/07\/Image32-800x225.jpg 800w\" sizes=\"(max-width: 1339px) 100vw, 1339px\" \/><\/p>\n<p>In this above Article, I just explained how to install Jenkins on Windows Operating System. Hope you all liked it. Thank You..!!!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will have a walk-through to the installation and setup process of Jenkins continuous integration software on the Windows operating system. Before we begin the installation process of Jenkins, let&#8217;s know something about Jenkins: Introduction to Jenkins: Jenkins!! \u00a0Jenkins is used everywhere for Continuous Integration(CI) server. Jenkins is an automation server for &hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[65,64,18,36,57,63,16,29,61,62,58,33,60,59],"_links":{"self":[{"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/posts\/91"}],"collection":[{"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":68,"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/posts\/91\/revisions"}],"predecessor-version":[{"id":809,"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/posts\/91\/revisions\/809"}],"wp:attachment":[{"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/categories?post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nxglabs.in\/etech\/wp-json\/wp\/v2\/tags?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}