我们一直使用EC2 Windows spot实例作为Jenkins的从属实例,然而,当将大小从M5d2XLarge增加到M5d4XLarge (试图克服某些构建中的内存问题)时,无法创建这些实例。 我尝试将Java Opts Xms和Xmx设置为init脚本的一部分,但是,错误没有改变。我读到过WinRM可能是问题所在,但我很难将其与节点大小的增加联系起来。 这是预期的日志结果(来自M5d2XLarge) WinRM service responded. Waiting for WinRM service to stabilize on EC2 (Dev-US-East-1) - Windo
我试图使用Jenkins在Windows服务器上执行一些厨师命令。
当我在Jenkins上运行构建以执行厨师命令时,我得到以下错误:
ERROR: Failed to authenticate to 172.54.78.989 as demo-user
Response: WinRM::WinRMAuthorizationError
Hint: Make sure to prefix domain usernames with the correct domain name.
Hint: Local user names should be prefixed with computer nam
可以给我一个关于Ansible和Windows主机的提示吗?我已经设置了Ansible服务器和Windows主机。我无法执行win_ping。看起来我把服务器上的配置搞乱了。 ansible win -m win_ping
Error message:
192.168.178.10 | FAILED! => {
"msg": "the connection plugin 'winrm ## The kind of connection which ansible will make with remote windows node'
我正在尝试使用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 Windows2016r2Java8 x64
我接下来的步骤花了很多时间:
11:47:48 B
我在使用Jenkins运行远程脚本时遇到问题。我已经安装了PowerShell插件,并且可以在本地构建服务器上运行PowerShell脚本,但是当我尝试在远程服务器上运行它时,它总是失败。我可以在Jenkins之外本地和远程运行相同的脚本,它工作得很好。我的假设是,有一个安全设置我丢失了,但我的生活,我找不到它。
任何洞察力/帮助都会非常感谢它。
下面的代码在服务器上使用PowerShell运行,而不是通过Jenkins运行:
$ErrorActionPreference = 'Stop'
# Create a PSCredential Object using the
我遵循Ansible网站上的说明,但当我试图与windows节点通信时,我仍然面临一个简单的"win_ping“命令的问题:
无源
版本: 1.8.2
Windows机器
OS : Windows 2012标准
Powershell :3.0版
我所犯的错误:
[root@fgr-lgchefap101 group_vars]# ansible windows -m win_ping -vvvv
<fgr-wgcitmp201> ESTABLISH WINRM CONNECTION FOR USER: devci on PORT 5986 TO fgr-wgcitmp201