Your most unhappy customers are your greatest source of learning.

Setup Jenkins in local machine


Steps to install jenkins in local machine

  1. Install apache tomcat server
  2. Download latest jenkins war file from http://jenkins-ci.org/
  3. Deploy jenkins.war file in tomcat webapps folder
  4. Once jenkins.war deployed successfully, start the tomcat server
  5. Open http://localhost:8080/jenkins in browser once server starts properly
  6. Now configure JDK and ANT which can be used to build the project.
    For that you have to click on manage Jenkins >> Configure System

     
  1. Provide your JDK and ANT(or Maven) path (See below screenshot)
  2. Install File System SCM Plugin from Manage Jenkins >> Manage Plugins section
    This plugin is useful to read code from File system. If you want to read code from SVN or other repository , then you may have to install more related plugins
  3. Now create new job to configure the project and for that follow below steps
    1. Click on New Job link from left navigation
    2. Give the name if job and select appropriate options. Here we wil select "Build a free-style software project" option (See Below screenshot)
    3. Locate project source (We are using file system here)
    4. Configure scheduler
    5. Configure the target which you want to run (Click Add buils step >> Invoke Ant)
    6. Save the job
  4. Now you can build the project manually by clicking on "Build Now" link
  5. Also this build will be automatically triggeredn as per schedular configuration

5 comments

  1. Thats an awesome post. I am looking for how to do the same with Maven based project. That will be an interesting read.

    ReplyDelete
    Replies
    1. Sandy ,

      Blog post is ready for maven based project build.
      Hope you will resolve your problem.

      Also Follow this blog to get more update about new things of Jenkins and Sonar

      Enjoy !!!!!

      Delete
  2. Sure Sandy
    I will post this information very soon.
    Stay tuned for latest update :)

    ReplyDelete
  3. Hi Jignesh,

    Thank you very much for your information, its really helped me a lot

    ReplyDelete

Most Reading

 

Like Me & Share

Buy Websites PRchecker.info

Members

Ranks