Hi All, I have been trying to get windows agents spun up in Amazon EC2 via Jenkins using the Amazon EC2 plugin. The agents are getting launched fine, but, Jenkins is not able to connect to them at all. No matter whatever settings I try, like, I have this in my userdata section:
*<powershell>$Script:ErrorActionPreference = [System.Management.Automation.ActionPreference]::Stopmkdir 'C:\Jenkins'Enable-PSRemoting -Forcewinrm set winrm/config/service/Auth '@{Basic="true"}'winrm set winrm/config/service '@{AllowUnencrypted="true"}'winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="1024"}'Set-NetFirewallRule -Name 'WINRM-HTTP-In-TCP-PUBLIC' -RemoteAddress AnyNew-NetFirewallRule -Name jenkins -DisplayName jenkins -Direction Inbound -Action Allow -Protocol TCP -LocalPort Any -Profile AnyRestart-Service WinRMSet-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine</powershell>* This is based on all the suggestions that I could gather online, but, it doesnt work. I keep getting: Waiting for WinRM to come up. Sleeping 10s. Connecting to (xx.xx.xx.xx) with WinRM as Administrator Can anyone please help me with some suggestion on how to get this working? I see that F Manfred Furuholen, Julien Duchesne, *Matt Sicker *are the maintainers of this plugin. Can you guys suggest something, please? *I have tried with even the latest version 1.45 of the plugin and my master is on version 2.176.3 * Thanks Alok -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAOqqq4SEQ1x1Y%2B5mRH0TCwzgqffJzj9FthSf55fJ3iU_357jmA%40mail.gmail.com.