2020-05-20

2020-05-20  本文已影响0人  夏天_9b7d

jenkins 安装在 windowns C 盘根目录,否则安装gitlab-hook 提示ruby missing.

布置 slave 时。

当出现错误

Can't connect to Jenkins Slave No Known Hosts file was found at /var/jenkins_home/.ssh/known_hosts .

应修改

Manually trusted key verification strategy - > SAVE.

参考

https://stackoverflow.com/questions/44441935/cant-connect-to-jenkins-slave-no-known-hosts-file-was-found-at-var-jenkins-hom

当出现没有权限创建目录时,应确保在slave上能够创建目录mkdir. (ubuntu则/home/cxzn/)

上一篇下一篇

猜你喜欢

热点阅读