Re: sshagent seems to cause serialization failure

2016-12-12 Thread David Karr
Oh, and I tried running this with the "sshagent" block commented out, and the exception does not occur (and nothing useful gets done, of course), so it's definitely coming from that, even though the stacktrace doesn't give me any hint of where it's happening in the script. On Monday, December 1

sshagent seems to cause serialization failure

2016-12-12 Thread David Karr
In a Jenkinsfile, I'm trying to scp a zip file to a remote host, and ssh some commands to unpack it when it gets there. I managed to add a "SSH username with private key" credential, and I can see it in the "Credentials" list. I'm referencing that uuid in my "sshagent" block. When I run the j