sshagent with Declarative Jenkinsfile

288 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

Svend Sorensen

nieprzeczytany,
17 kwi 2017, 19:09:2617.04.2017
do 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

nieprzeczytany,
18 kwi 2017, 12:55:0118.04.2017
do 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

nieprzeczytany,
18 kwi 2017, 13:20:1618.04.2017
do 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.
Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0