【问题标题】:kubernetes jenkins-plugins - JnlpProtocol3 is disabled by default, use JNLP_PROTOCOL_OPTS to alter the behaviorkubernetes jenkins-plugins - 默认情况下禁用 JnlpProtocol3,使用 JNLP_PROTOCOL_OPTS 更改行为
【发布时间】:2018-06-28 03:37:57
【问题描述】:

我正在尝试按照此处https://radu-matei.com/blog/kubernetes-jenkins-azure/ 的步骤在我的 kubernetes 集群上配置 Jenkins

从 slave 我看到 JNLP Disabled 不确定我需要在哪里设置这个变量,在 Jenkins 全局环境变量设置中尝试过,它没有工作。

如何设置这个变量?

Warning: JnlpProtocol3 is disabled by default, use JNLP_PROTOCOL_OPTS to alter the behavior
Warning: SECRET is defined twice in command-line arguments and the environment variable
Warning: AGENT_NAME is defined twice in command-line arguments and the environment variable

这是我的詹金配置。

【问题讨论】:

    标签: jenkins kubernetes jenkins-plugins


    【解决方案1】:

    我认为,您应该将 Jenkins URL 更改为 serviceName 并使用端口 8080,如下所示:

    http://jenkins.default.svc.cluster.local:8080
    

    【讨论】:

    • @camille 该链接的答案。发帖人建议将 Jenkins 配置的属性更改为 URL,然后举例说明将其更改为的内容。该 URL 实际上并没有去任何地方。
    猜你喜欢
    • 1970-01-01
    • 2018-05-20
    • 1970-01-01
    • 2022-11-19
    • 1970-01-01
    • 1970-01-01
    • 2014-08-21
    • 2018-04-17
    • 1970-01-01
    相关资源
    最近更新 更多