Makers schedule conflicting with a meeting in a short while... so this got some more cycles... now supports using the ssh-agent command as a fallback of last resort.... only issue is that such a fallback cannot handle keys protected with passphrases (unless somebody wants to write a TTY emulator ;-)
On 26 October 2012 12:31, Stephen Connolly <[email protected]>wrote: > Hi all, > > I have knocked together a basic SSH-Agent plugin that uses the SSH > Credentials plugin and Apache SSH to provide a ssh-agent with the supplied > credentials to the build. > > The only issue blocking a release at the moment is that it has a > dependency on tomcat native that must be installed on the slaves and the > master. > > If somebody is adventurous, they could probably figure out a way to > extract the correct native binaries from the .HPI so that it is aligned > with the typical zero-config that Jenkins encourages... > > Alternatively if the lib is not present one could write the key to a > temporary file and start the real ssh-agent and stop it afterwards... > > In any case, I have other things to be doing, but thought an enterprising > developer might like the challenge! > > SCM: https://github.com/jenkinsci/ssh-agent-plugin > > Wiki: https://wiki.jenkins-ci.org/display/JENKINS/SSH+Agent+Plugin > > Have fun! > > -Stephen > > P.S. > If I ever have some spare time I will probably take a look at the Tomcat > Native issue myself if nobody else has solved it before me! >
