That worked. I assumed that the declarative syntax would be different. Thanks Andrew!
On Tuesday, April 18, 2017 at 9:55:01 AM UTC-7, Andrew Bayer wrote: > > I believe it should be - just use the standard sshagent syntax inside the > steps block. > > A. > > On Mon, Apr 17, 2017 at 7:09 PM, Svend Sorensen <[email protected] > <javascript:>> wrote: > >> Is it possible to use the SSH Agent Plugin with a declarative >> Jenkinsfile? I haven't found any examples online. >> >> Svend >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/c07402b3-d2e3-42f8-bb25-ab370a8b18a8%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/c07402b3-d2e3-42f8-bb25-ab370a8b18a8%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/a313c554-3c85-441b-8e35-769a37240e8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
