我正在遵循Jenkins 官方指南以熟悉 Jenkins 管道配置。步骤之一是创建一个哑从站并将其设置为“通过 Java Web Start 启动从站代理”,但由于某种原因,我的配置中缺少此选项,我仅有的其他选项是:
我已经确定/usr/bin/javaws存在于机器上。
知道如何将它添加到 Jenkins 新节点配置中吗?
我在尝试启动 Slave 的所有 Linux 服务器上都收到此错误。版本是Jenkins ver。1.532.1。当我使用 Jenkins 版本进行另一个安装时,我没有遇到这个问题。1.509.4。
我在互联网上阅读了很多关于这个问题的帖子,仍然没有解决它的线索。几乎想删除此安装并安装旧版本。现在 1.509.4。
任何人都可以就如何调试这个问题给出一些想法?
jenkins.log:
Dec 20, 2013 9:38:24 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
WARNING: Channel reader thread: trmsrv43 for + trmsrv43 terminated
java.net.SocketException: Socket closed
bash-3.00$ java -jar slave.jar -jnlpUrl htttp://name:8080/computer/trmsrv43/slave-agent.jnlp
20-Dec-2013 9:37:47 AM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
20-Dec-2013 9:37:47 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [htttp://name:8080/, htttp://name:8080/]
20-Dec-2013 9:38:02 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to name:45606
20-Dec-2013 9:38:02 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
20-Dec-2013 9:38:02 AM …Run Code Online (Sandbox Code Playgroud) 一台 Jenkins 1.651 master 和 slave 已经安装在 Windows Server 2012 上。 slave 专用于运行 Selenium 测试,但大部分时间它会离线:
Build step 'Execute Windows batch command' marked build as failure
ERROR: slave-tester is offline; cannot locate jdk7
Run Code Online (Sandbox Code Playgroud)
和
Apr 20, 2016 2:20:05 PM INFO jenkins.slaves.DefaultJnlpSlaveReceiver handle
Disconnecting slave-tester as we are reconnected from the current peer
Apr 20, 2016 2:20:17 PM WARNING org.jenkinsci.remoting.nio.NioChannelHub run
Communication problem
java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown …Run Code Online (Sandbox Code Playgroud)