[英]Can i create a Slave node on the same machine in which we have a Master node in Jenkins?
[英]Can a Jenkins Slave be on the same node as the Master?
我剛從Jenkins
開始,我對Remote root directory
、 WorkDir
和Internal data directory
感到困惑,正是它們的完整路徑,包括Hostname
。
從站應該在不同的節點上,但我看不到我們可以在哪里指定Hostname
或IP address
。
到目前為止我看到的示例Remote root directory
看起來像/var/jenkins
,它在主節點上嗎? 如果不是,我們如何或在哪里指定遠程Hostname
或IP address
?
Workir
也一樣,它是遠程的還是本地的?
提前致謝。
您的 jenkins 主節點也可以運行構建並作為從節點工作。
遠程根目錄在從站上。 管理從站位於“管理節點”部分。 在啟動方法選項中指定主機名/IP 地址:“通過 SSH”
要加入從站: https://medium.com/@chathurams.sa/step-by-step-guide-to-add-jenkins-slave-nodes-f2e756c8849e
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.