在詹金斯自定义网址 [英] Customizing URL in Jenkins

查看:135
本文介绍了在詹金斯自定义网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了Jenkins来管理我的项目。我想和几个人分享这些文件。问题是URL是 http:// localhost:8080 / 。我如何让我的同事公开(我希望公开,像这边)?我知道配置中有Jenkins URL设置,但是当我将URL放在那里时,页面不存在。有什么想法怎么办? (我是初学者的这个东西,所以你可以解释一下吗?thx)



我正在使用W7 x64

解决方案

您最初需要2件事:


  1. 您需要一个静态外部IP地址。您的网络管理员或您的ISP应该为您提供一个。


  2. 一旦拥有IP,您需要注册DNS名称,并指向该IP


或者,如果您无法获取静态外部IP地址,则可以使用动态DNS(DDNS)服务,但是您需要确保您的IP地址可从外部访问


  1. 找出您的外部IP地址(确保您的路由器和/或防火墙允许您的Jenkins端口的外部流量(8080)

  2. 注册一些免费的DDNS服务器,如 http://www.noip.com/free


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 co-workers (I want it public like this side)? I know there is "Jenkins URL" setting in configuration, but when I'll put URL there the page doesn't exist. Any ideas how to do it? (I'm beginner with this stuff so could you explain it to me? thx)

I'm using W7 x64

解决方案

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

这篇关于在詹金斯自定义网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆