Customizing URL in Jenkins

前端 未结 2 1194
情歌与酒
情歌与酒 2021-01-05 19:07

I\'ve created Jenkins for managing my project. I want to share these files with a few people. Problem is that URL is http://localhost:8080/ . How can I make it public for my

相关标签:
2条回答
  • 2021-01-05 19:32

    there are two ways to perform it.

    in case all are under same network they you can add your IP (with fashionate host name you like) in your co-workers system's /etc/hosts file.. its simplest way.

    <IP>  <HOST NAME>
    

    Even if you dont want to use the "localhost", you can change it in config.xml.

    you can resolve host name using DNS server also

    0 讨论(0)
  • 2021-01-05 19:51

    You need 2 things at first:

    1. You need to have an static external IP address. Either your network admin or your ISP should provide you with one.

    2. Once you have the IP, you need to register a DNS name, and point to that IP address.

    Alternatively, if you cannot get a static external IP address, you can use a Dynamic DNS (DDNS) service, however you need to make sure your IP address is accessible externally

    1. Find out your external IP address (probably in your router configuration).
    2. Make sure your router and/or firewall allow external traffic to your Jenkins port (8080)
    3. Register on some free DDNS server, such as http://www.noip.com/free
    0 讨论(0)
提交回复
热议问题