Hi Matt, Thanks a lot for your response. I have just put my question there. Hope to get some help.
Thanks Alok On Fri, Sep 20, 2019 at 10:51 AM Matt Sicker <[email protected]> wrote: > You can try getting answers in the gitter chat: > https://gitter.im/ec2-plugin/Lobby > > On Thu, Sep 19, 2019 at 4:20 PM alok kumar <[email protected]> wrote: > > > > 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]::Stop > > mkdir 'C:\Jenkins' > > Enable-PSRemoting -Force > > winrm 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 Any > > New-NetFirewallRule -Name jenkins -DisplayName jenkins -Direction > Inbound -Action Allow -Protocol TCP -LocalPort Any -Profile Any > > Restart-Service WinRM > > Set-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 [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAOqqq4SEQ1x1Y%2B5mRH0TCwzgqffJzj9FthSf55fJ3iU_357jmA%40mail.gmail.com > . > > > > -- > Matt Sicker > Senior Software Engineer, CloudBees > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAEot4oyAZjpT9S-yS40p3qYdPMYnHL04-S9dwRVxFKeb-5dFLg%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAOqqq4RcXwBf8zCigjj%3DZmbUSLEqws4fpsvJJqrL1K3a_bCZcA%40mail.gmail.com.
