【问题标题】:How to launch Windows Slave from Linux Master in JENKINS如何在 JENKINS 中从 Linux Master 启动 Windows Slave
【发布时间】:2020-09-01 17:19:45
【问题描述】:

我正在尝试做的事情:从 Jenkins 上的 Linux (Ubuntu) Master 创建一个 Windows 从站。

Jenkins 位于容器 (Docker) 中。

我按照这里的步骤进行操作:https://scmquest.com/jenkins-windows-slave-configuration-with-screenshots/

当我尝试启动代理时,出现如下错误:enter image description here

【问题讨论】:

    标签: linux windows docker jenkins


    【解决方案1】:

    好的,我知道怎么做。

    我做了docker container ls 然后在 PORT 下有 x.x.x.x:8080->8080/tcp, x.x.x.x:50000->50000/tcp。我在 Jenkins->Configure Global Security->Agent 中将端口设置为 500000。

    现在我有另一个来自 java 的错误。 java.lang.NoClassDefFoundError:java/sql/Date

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-01-21
      • 2016-04-17
      • 2012-09-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-30
      相关资源
      最近更新 更多