Installing and Running Jenkins as a Standalone Application on Cloud Machine

Jenkins is known as a well-known open source automation platform that streamlines and bring together the build procedure and keep up the nonstop mix procedure of a code base. In the event that you need to set it up and play around to test its abilities you can do it in couple of straightforward steps!

  • Download the Jenkins WAR.

 

Visit the official page of Jenkins to download the Generic Java package.

  • Begin Jenkins.

 

Jenkins accompanies an installed Winstone server; in this way empowering it to keep running as an independent application. For this instructional exercise we will utilize it in the independent frame. In any case, you could put the .WAR file in an application server on your Cloud server of your choice and utilize it in the event that you wish to do as such. To keep running as an independent application, first duplicate the "jenkins.war" record in to a reasonable area in your framework and open a command line window and run the accompanying command;

 

java -jar jenkins.war

Presently you should see the initial setups being kept running in the command line. There is one essential thing to note at this stage. As found in the beneath picture, the setup will produce a random password for you to use on the underlying login. Note down the password.

Now wait for the console result to print 'Jenkins is completely up & running' and that is it! You have effectively begun the Jenkins Cloud server! Presently go to your web browser and enter the url: http://localhost:8080/and you should see a screen like the one underneath, inciting for the underlying administrator password that was produced in the past step. Put the password  and hit 'Proceed'.



Jenkins begins on the port 8080 as a matter of course.



In the following screen you will be approached to install essential modules for Jenkins Cloud server. These modules are the ones that really enable Jenkins to do its enchantment! They empower the coordination of different platforms with Jenkins. You could give Jenkins a chance to download most essential modules without anyone else's input or alter as you prefer. There's bunch of modules accessible for all the famous build tools and form control frameworks.

You will be provoked to make an Admin user in the following window once the module installation is finished.

Once completed, hit Save and Finish and now you can continue to the Jenkins dashboard where you can begin making jobs for your projects.

All done.