Search code examples
jenkinsselenium-webdriverwebdriver

Possible to Change Jenkins URL? : http://localhost:8080


Possible to Change Jenkins URL? : http://localhost:8080

  1. Currently I have jenkins setup on a virtual machine.
  2. Is it possible to setup Jenkins on a URL which is more is accessible for other users?
  3. For example I dont want other users to access test results by connecting to the Virtual machine instead I want them to access a URL from their own device in turn enabling them to login and see test results via jenkins.

thanks for you help


Solution

  • Let's say IP of your virtual machine is 192.168.x.x.

    Open the Port 8080 via firewall and then change the URL of jenkins from "Manage Jenkins >>Config Sys >> Jenkins Location>" to "http://192.168.x.x:8080"

    Now you can access it from other machine on same network domain.Just have to hit the url http://192.168.x.x:8080

    You can now create different users with different privileges for the same.

    You can find it under Manage Jenkins >> Manage Users >> Create Users.