Step 1. Manage Jenkins - Configure Global Securitynode
選擇Fixed,tcp
Step 2. Manage Jenkins -Manage Nodes - New Nodespa
在Jenkins主機上code
netstat -ntlp
lsof -i tcp:42895
在Mac上ip
nc -zv 139.xxx.xxx.xxx 42895
Step 1. 安裝JRE環境 | Windows 安裝並配置環境變量
Step 2. 建立Jenkins工做目錄it
Step 3. 下載安裝Launchast
成功創建node與Server的鏈接後,建立一個服務class
Step 1.讓當前項目在標籤節點上運行變量
Step 2. 能夠執行bat命令cli