How to Setup Jenkins on Windows machine
Jenkins is most widely used tool for Continuous Integration and Continuous Development purpose. You can schedule your build through Jenkins and trigger can be your deployment. It will automatically schedule the build and even can send the feedback using mail SMTP servers. It is very easy to use any mail server with Jenkins, So that if any of the build fails, it will trig an email notification to target audience.
Let’s see how you can configure Jenkins on your windows machine.
Step 1:
Access the URL Jenkins site and locate the Generic Java Packagesituated at the bottom.
Step 2:
Once you finish the download of war file, open the Command prompt and enter java -jar <location of downloaded war file> and hit the enter button.
Wait until you get below mentioned success message that Jenkins server is up and running.
Step 3:
Once you get above stated success message, in the browser hit URL localhost:8080 because Jenkins by default uses 8080 port.
Step 4:
Use the password kept at the location specified in the screen , this will prevent any unauthorized use of your Jenkins.
Step 5:
Once the password entered, hit the Continue button. A screen will appear that will ask you to download all/necessary plugins. This is important step, because plugins plays the important role in accessing/integration with third party applications.
Step 6:
Do not close the command prompt where we have started the jenkin’s server, because if we close the command prompt Jenkins server will go down.
Step 7:
Once all the plugin’s are downloaded successfully, create a user ID and password so that authentication factor will come in place when you try to login any time into Jenkins. This will help to avoid unauthorized use of jenkin’s.
Step 8:
Once you finish specifying user id and password click on Save and Finish button stated above. And now your jenkins is ready to use.
Step 9:
Next important step is setting up environment variables for Jenkins. Go to Manage Jenkins > Configure System > Global Properties option and set the Java variable as shown in below image. Use the Java path of your local machine. The path where you have installed JAVA.
Your Jenkins is Ready to use now!!!!!
Comments
Post a Comment