1.1 Run Jenkins as-is
Last updated
Was this helpful?
Last updated
Was this helpful?
To use the "standalone" Jenkins distribution which requires a minimum of Java 7, though Java 8 is recommended. A system with more than 512MB of RAM is also recommended.
Run Jenkins with the command java -jar jenkins.war
.
To change the default port of the web interface of Jenkins, use the argument--httpPort=$port
.
For example,java -jar jenkins.war --httpPort=12345
It takes hardly a minute to run as a service for current user and you can run whenever required without any administrative rights.
Open urlhttp://server:port
in browser to configure Jenkins. In the last example, it ishttp://localhost:12345
.
Download and install plugins following the steps below.
Switch to theavailable
tag and search for the plugin.
In this example, theGithub Project
plugin is installed to integrate Jenkins with projects on github.
Click on theinstall
button
After the installation is finished, you can configure jobs to use existing Github projects.
To stop the jenkins which has been started from the command prompt we need to type keys with a combination <Ctrl+C> and type 'Y' to stop the service.
Remember the settings of jenkins will not be saved unless you install it as a service.
However jenkins has been improved year-on-year and now it is the most stable continuous integration server as on date.