Steps to install jenkins in local machine
- Install apache tomcat server
- Download latest jenkins war file from http://jenkins-ci.org/
- Deploy jenkins.war file in tomcat webapps folder
- Once jenkins.war deployed successfully, start the tomcat server
- Open http://localhost:8080/jenkins in browser once server starts properly
- Now configure JDK and ANT which can be used to build the project.
- Provide your JDK and ANT(or Maven) path (See below screenshot)
- 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
- Now create new job to configure the project and for that follow below steps
- Click on New Job link from left navigation
- Give the name if job and select appropriate options. Here we wil select "Build a free-style software project" option (See Below screenshot)
- Locate project source (We are using file system here)
- Configure scheduler
- Configure the target which you want to run (Click Add buils step >> Invoke Ant)
- Save the job
- Now you can build the project manually by clicking on "Build Now" link
- Also this build will be automatically triggeredn as per schedular configuration
Thats an awesome post. I am looking for how to do the same with Maven based project. That will be an interesting read.
ReplyDeleteSandy ,
DeleteBlog 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 !!!!!
Sure Sandy
ReplyDeleteI will post this information very soon.
Stay tuned for latest update :)
Hi Jignesh,
ReplyDeleteThank you very much for your information, its really helped me a lot
Nice one. thank you
ReplyDelete