您的位置:首页 > 其它

在windows slave机上运行slave服务需要设置匿名用户有overall 的read权限

2012-02-15 16:27 281 查看
问题描述

当hudson设置了安全访问之后,在命令行运行

java -jar slave.jar -jnlpUrl http://Hudson/computer/VirtualBOX/slave-agent.jnlp

-auth
user:password

可能出现:

Failing to obtain http://Hudson/computer/VirtualBOX/slave-agent.jnlp



java.io.IOException: Failed to load http://Hudson/computer/VirtualBOX/slave-agent.jnlp:

403
Forbidden

at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:229)

at hudson.remoting.Launcher.run(Launcher.java:191)

at hudson.remoting.Launcher.main(Launcher.java:167)

Waiting 10 seconds before retry

解决:

系统管理--》系统设置--》安全

设置匿名用户有Overall的Read权限就ok了。



参考:

http://issues.hudson-ci.org/browse/HUDSON-6278
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐