Jenkins fail

来源:互联网 发布:广电网络工作总结 编辑:程序博客网 时间:2024/04/28 15:46

我更新了jenkins,结果启动slave的时候,老是出错,链接不上,然后我重新删除,重新创立节点,结果出现个如下的错

[SSH] Opening SSHconnection to :22.

然后去群里面问,也没人甩我。

然后网上找

 

7 down vote accepted

Supposedly, due in most part to posts on the Jenkins forums, this new behavior is due to a fix for a security issue:https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2013-01-04

Two solutions seem to be coming up:

  1. Download the JNLP file (via browser, wget, curl, whatever) then run locally - may require extra parameters.
  1. Go to Manage Jenkins -> Configure Global Security, and under Project-based Matrix Authorization Strategy, enable “connect” in the “slave” section, for user “Anonymous”. This would leave you open to attack where someone emulates a slave (but in my case, on a private work network - that's not an issue.)

 

源文档 <http://stackoverflow.com/questions/14277512/problems-launching-the-slave-agent-via-java-web-start-on-jenkins>

把其他的用户,所有权限都加上去,就ok了。

0 0
原创粉丝点击