Loading
 
What's Next: View All Tutorial →

Jenkins CI - Introduction and How to start and access it

What is Jenkins? Jenkins is an award-winning application that monitors executions of repeated jobs, such as building a software project or jobs run by cron. Among those things, current Jenkins focuses on the following two jobs: Bui...

Published Date: 09/09/2015  Last Modified Date: 09/09/2015    New Post



What is Jenkins?

Jenkins is an award-winning application that monitors executions of repeated jobs, such as building a software project or jobs run by cron. Among those things, current Jenkins focuses on the following two jobs:

  • Building/testing software projects continuously, just like CruiseControl or DamageControl. In a nutshell, Jenkins provides an easy-to-use so-called continuous integration system, making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. The automated, continuous build increases the productivity.
  • Monitoring executions of externally-run jobs, such as cron jobs and procmail jobs, even those that are run on a remote machine. For example, with cron, all you receive is regular e-mails that capture the output, and it is up to you to look at them diligently and notice when it broke. Jenkins keeps those outputs and makes it easy for you to notice when something is wrong.

How to Start It?


Download the latest jar file and save it.

http://mirrors.jenkins-ci.org/war/latest/jenkins.war
 
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\DayanithiJ>cd Desktop

C:\Users\DayanithiJ\Desktop>cd Devops

C:\Users\DayanithiJ\Desktop\Devops>java -jar jenkins.war --httpPort=8082
Running from: C:\Users\DayanithiJ\Desktop\Devops\jenkins.war
webroot: $user.home/.jenkins
Sep 09, 2015 11:20:51 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
Sep 09, 2015 11:21:12 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-winstone-2.8
Sep 09, 2015 11:21:27 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: C:\Users\DayanithiJ\.jenkins found at: $user.home/.jenki
ns
Sep 09, 2015 11:21:34 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started SelectChannelConnector@0.0.0.0:8082
Sep 09, 2015 11:21:34 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Sep 09, 2015 11:21:39 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Sep 09, 2015 11:22:37 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Sep 09, 2015 11:22:37 AM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Sep 09, 2015 11:22:37 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Sep 09, 2015 11:22:38 AM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Sep 09, 2015 11:23:23 AM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Sep 09, 2015 11:23:32 AM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Sep 09, 2015 11:23:34 AM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 50260
Sep 09, 2015 11:23:34 AM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Sep 09, 2015 11:23:34 AM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
Sep 09, 2015 11:23:50 AM hudson.model.UpdateSite updateData
INFO: Obtained the latest update center data file for UpdateSource default
Sep 09, 2015 11:23:52 AM hudson.model.DownloadService$Downloadable load
INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
Sep 09, 2015 11:23:54 AM hudson.model.DownloadService$Downloadable load
INFO: Obtained the updated data file for hudson.tasks.Ant.AntInstaller
Sep 09, 2015 11:23:59 AM hudson.model.DownloadService$Downloadable load
INFO: Obtained the updated data file for hudson.tools.JDKInstaller
Sep 09, 2015 11:23:59 AM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 27,027 ms


Command:
 
java -jar jenkins.war --httpPort=8082

By Default, the jenkins home directory will be creted in the user profile, 
 
Jenkins home directory: C:\Users\DayanithiJ\.jenkins found at: $user.home/.jenkins

we can overwrite the folder by setting the configuration variables.
 
JENKINS_HOME : c:/devops


How to Access hit


After the jenkins started. Hit the url in the address bar of web browser
 
http://localhost:8082/

 
Awaiting for Administrator approval





Tags: Jenkins

← Back to list


×