8637/how-to-start-jenkins-on-a-different-port-rather-than-8080
This is simple, use the following command:
java -jar jenkins.war --httpPort='xyz'
For https,
java -jar jenkins.war --httpsPort='xyz'
Finally, restart the service, this should change the port permanently.
In case you want to change the default jenkins port on Linux,
You can go to /etc/default/jenkins
add --httpPort=9999 or whatever port to JENKINS_ARGS.
Then you should restart Jenkins with sudo service jenkins restart.
Hi@Nishant,
It depends on the version to version. In the newer version of Jenkins, you can find the configuration file in the /etc/sysconfig/jenkins file.
use multijob plugin READ MORE
To automatically run build on code commit, follow ...READ MORE
Take a look at this https://fullstack-puppet-docs.readthedoc ...READ MORE
Hi@akhtar, You can change the port no from ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
You have to open the /var/log/jenkins/jenkins.log file to ...READ MORE
You can run the following code, its ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.