1

https://wiki.jenkins.io/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines+on+Windows

我已经阅读了上面的链接并实施了。

我遇到了两条路:

1. Master and Slave both are same machines - Working Fine
2. Master and Slave Machine both are different 
Consider Master Machine: 3020721 and slave 3020722

下面是 Build 部分的 windows 批处理命令: Katalon_Studio_Windows_64-5.3.0 和 Project 都放在 307022 (Slave Machine)

cd C:\Users\3020722\Downloads\Katalon_Studio_Windows_64-5.3.0
katalon.exe  -runMode=console -projectPath="C:\Users\3020722\Katalon_Studio\PoC\PoC.prj" -retry=0 -testSuitePath="Test Suites/POCTestSuite" -browserType="IE"

现在,如果我想使用来自 Master 的 Katalon Studio 可执行文件和项目,我在下面尝试

cd C:\Users\3020721\Downloads\Katalon_Studio_Windows_64-5.3.0
katalon.exe  -runMode=console -projectPath="C:\Users\3020721\Katalon_Studio\PoC\PoC.prj" -retry=0 -testSuitePath="Test Suites/POCTestSuite" -browserType="IE"

它试图cd C:\Users\3020721\Downloads\Katalon_Studio_Windows_64-5.3.0 但说the system can not find the specified path..

它是在奴隶身上尝试这条路,而不是从主人那里拿走它吗?

这种方法可行吗?

4

0 回答 0