jenkinsWindows奴隶失败的戏剧! 框架构build

我们正在使用Play! 框架,我已经设置了我们的Jenkinsconfiguration项在主Unix机器上运行自动testing和其他事情。 作为第二步,我想设置一个Windows从站运行浏览器webdrivertesting中的一些。 不幸的是我的构build没有达到这一点。 源代码在工作区目录中检查正常。 作为第一个构build步骤,我运行

play clean 

每次似乎都失败了。 我已经给了该目录的pipe理员的完全权限,我正在这样的pipe理员下运行jenkins奴隶

 runas /noprofile /user:DOMAIN\Administrator "javaws http://jenkins:8080/computer/Keith/slave-agent.jnlp" 

我从jenkins看到的控制台输出是:

 Building remotely on Keith in workspace C:\Documents and Settings\administrator\My Documents\Jenkins\workspace\windows Updating http://svnrepo.. At revision 448 no change for http://svnrepo.. since the previous build play path is C:\Software\Play\play Executing C:\Software\Play\play clean "C:\Documents and Settings\administrator\My Documents\Jenkins\workspace\windows" [windows] $ C:\Software\Play\play clean "C:\Documents and Settings\administrator\My Documents\Jenkins\workspace\windows" Build step 'Play!' marked build as failure Finished: FAILURE 

请注意,当我在窗口框上手动运行下面的命令,它工作正常:

 C:\Software\Play\play clean "C:\Documents and Settings\administrator\My Documents\Jenkins\workspace\windows" 

任何人有任何想法我做错了什么?

谢谢!

我有同样的问题,我通过在播放路径的末尾添加.bat来解决它。 在你的情况下,你应该在jenkins配置播放路径为C:\Software\Play\play.bat (而不仅仅是C:\Software\Play\play )。