I think this actually has to do with the ssh-agent not running in the same session. If this is the case is my only option to use the Jenkins ssh-agent plugin?
On Wednesday, October 26, 2016 at 2:16:37 PM UTC-4, AC wrote: > > Hello, > > I have Ansible installed on my Jenkins master. The Jenkins Ansible plugin > was working and completing jobs until I switched over to using ssh-agent to > encrypt my private key. However, I can still run Ansible commands from the > Jenskins Master CLI but not from the Jenkins Ansible Plugin. > > Does Jenkins not run the jobs as the Jenkins user which has ssh-agent > running? Does anyone know if there is a way to do this? > > Thanks! > -- 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/945f9c00-6665-4783-a26e-d85ebf703e2c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
