我的windows slave在Jenkins中作为unix slave运行?

时间:2015-05-04 18:50:57

标签: jenkins hudson

jenkins没有把奴隶视为窗户,这很奇怪。它是作为JAVA WEBSTART启动的,但它作为unix slave运行。我怎么能把它作为Windows奴隶运行?

JNLP agent connected from /198.112.40.148
<===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.21
This is a Unix slave
WARNING: C:\softs\jenkins looks suspiciously like Windows path. Maybe you meant C:/softs/jenkins?
Copied maven-agent.jar
Copied maven3-agent.jar
Copied maven3-interceptor.jar
Copied maven-interceptor.jar
Copied maven2.1-interceptor.jar
Copied plexus-classworld.jar
Copied classworlds.jar
Slave successfully connected and online

2 个答案:

答案 0 :(得分:0)

Jenkins根据parth.separator尝试guess the OS。由于某种原因,你的java进程设置错误。

您是否在命令行中覆盖了path.separator属性?

答案 1 :(得分:0)

如果cygwin参与其中,那么您可能正在连接到Windows之上的Unix-ish环境。