[英]can a slave plugin ssh to Jenkins on the same server as the Jenkins itself
我試圖插入與jenkins安裝在同一服務器上的從服務器,以減少正在運行的單獨VM的數量。 我是jenkins安裝的新手,只是在旅途中學習。
[11/16/18 15:59:16] [SSH] WARNING: No entry currently exists in the Known Hosts file for this host. Connections will be denied until this new host and its associated key is added to the Known Hosts file.
將不勝感激。
在Jenkins中,從節點是運行構建的最佳實踐,因為在主節點上運行它並不安全,因為任何人都可以訪問JENKINS_HOME目錄並通過作業進行修改。 請參閱此鏈接。 我建議您運行配置了多個執行程序的單獨的單個從屬節點,以便能夠並行運行多個構建,並且更易於維護。 或在從屬節點上運行動態從屬(Docker容器)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.