Jenkins is a free and open source automation server. Jenkins helps to automate the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery.
Step 1: Navigate to this link and download Generic Java Packager(.war)
Step 2: Wait for download to finish
Step 3: Copy downloaded file.
Step 4: Paste file to your desired directory. I have pasted it to jenkins folder in c drive.
Step 5: Type below command to run war file. add --enable-future-java if version is higher then supported.
$ java -jar jenkins.war --enable-future-java
Step 6: Password will be displayed in command prompt on successful installation. Also you can find password in path mentioned in command prompt.
Step 7: Open 127.0.0.1:8080 and paste copied password.
Step 8: Select install suggested plugins
Step 9: Enter user detail and click save and continue.
Step 10: Change URL if you want and click save and finish.
You are good to start.