[英]Jenkins MSBuild plugin not working with cygwin on windows slave
[英]Jenkins ec2 plugin - windows slave is very slow
enter code here
我正在尝试使用jenkins ec2插件,但性能出现问题。 我对winrm的选择:
winrm set winrm/config/service/Auth @{Basic="true"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
winrm set winrm/config/winrs @{MaxMemoryPerShellMB="1024"}
Jenkins 2.133 OS Windows 2016r2 Java 8 x64
我的下一步花费了很多时间:
11:47:48 Building remotely on zak-test (sir-4pcr5aig) (zak-test) in workspace c:\jenkins\workspace\AT_PES_test_zak
11:58:48 Cloning the remote Git repository
下一步
12:07:52 Parsing POMs
12:39:51 Established TCP socket on 49811
当我使用JNLP协议而不是WinRm时,我的测试可以正常进行,而无需暂停。 很快。
此外,我创建了任务https://issues.jenkins-ci.org/browse/JENKINS-53617,但没有收到响应。
然后,我使用本地Windows用户jenkins从主服务器连接到Windows从属ec2实例。 我通过谷歌浏览器启动了GUI测试。 当测试正常进行时,我正在通过RDP连接到我的从属Windows主机,并且正在观察chrome在后台运行。 但是我没有将浏览器视为GUI进程。 仅在powershell中:
PS C:\Users\jenkins> get-process
Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
------- ------ ----- ----- ------ -- -- -----------
181 10 46960 15820 1512 0 amazon-ssm-agent
123 10 1784 8624 740 0 chrome
251 20 18392 30260 0.11 2228 0 chrome
246 20 18388 30584 0.13 3276 0 chrome
1008 55 21552 72832 3444 0 chrome
154 10 1860 7884 4600 0 chrome
403 21 15368 23840 0.19 5840 0 chrome
226 20 6680 12320 1396 0 chromedriver
WinRM是缓慢的协议。 尽管这个插件非常适合使用Linux实例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.