提交 b6e369b1 编写于 作者: R René Moser 提交者: Kohsuke Kawaguchi

Expose jenkins in multi-cast dns

上级 cc3393a7
......@@ -40,6 +40,8 @@ public class DNSMultiCast implements Closeable {
props.put("slave-port",String.valueOf(tal.getPort()));
jmdns.registerService(ServiceInfo.create("_hudson._tcp.local.","hudson",
80,0,0,props)); // for backward compatibility
jmdns.registerService(ServiceInfo.create("_jenkins._tcp.local.","jenkins",
80,0,0,props));
} catch (IOException e) {
LOGGER.log(Level.WARNING,"Failed to advertise the service to DNS multi-cast",e);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册