sshagent with Declarative Jenkinsfile

288 views
Skip to first unread message

Svend Sorensen

unread,
Apr 17, 2017, 7:09:26 PM4/17/17
to Jenkins Users
Is it possible to use the SSH Agent Plugin with a declarative Jenkinsfile? I haven't found any examples online.

Svend

Andrew Bayer

unread,
Apr 18, 2017, 12:55:01 PM4/18/17
to jenkins...@googlegroups.com
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 <ssor...@whitepages.com> 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 jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c07402b3-d2e3-42f8-bb25-ab370a8b18a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Svend Sorensen

unread,
Apr 18, 2017, 1:20:16 PM4/18/17
to Jenkins Users
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 <ssor...@whitepages.com> 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 jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages