【问题标题】:How to create a VM jenkins with url to access remotely from outside如何使用 url 创建 VM jenkins 以从外部远程访问
【发布时间】:2019-06-29 07:19:51
【问题描述】:

我的虚拟机 Azure 中有 Jenkins。我需要从外部通过 URL 远程访问它。

【问题讨论】:

  • 这需要更新安全规则以允许从外部到 VM 的入站连接。此外,如果您正在寻找 URL,则还需要 A 记录
  • 还有问题吗?或者,如果答案有帮助,您可以接受。

标签: jenkins azure-active-directory jenkins-plugins azure-storage virtual


【解决方案1】:

无论您执行了哪些步骤,使用 cloud-init 文件创建 VM 以安装 Jenkins,或者创建 VM 然后安装 Jenkins。没有区别。

您需要为 Jenkins 流量打开端口 8080,为 Node.js 应用打开端口 1337。如果你完成了Jenkins的所有设置,那么你就可以用VM公共IP和VM外部的8080端口浏览Jenkins,URL如下:http://vmPublicIps:8080。从Create a VM in Azure with Jenkins获取所有步骤。

或者您可以使用 Azure 提供的映像创建一个 Jenkins 服务器,请参阅 Create a Jenkins server on an Azure Linux VM from the Azure portal

【讨论】:

    猜你喜欢
    • 2015-06-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-04-19
    相关资源
    最近更新 更多