Quantcast

sshagent with Declarative Jenkinsfile

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

sshagent with Declarative Jenkinsfile

Svend Sorensen
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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: sshagent with Declarative Jenkinsfile

Andrew Bayer
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 <[hidden email]> 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 [hidden email].
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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPbPdOYhiX5arKakiyPcg_2QGoN7D9x%3DV3MS2NQoA5Ei0Fma7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: sshagent with Declarative Jenkinsfile

Svend Sorensen
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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="3-tUJtJDAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">ssor...@...> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="3-tUJtJDAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/c07402b3-d2e3-42f8-bb25-ab370a8b18a8%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/c07402b3-d2e3-42f8-bb25-ab370a8b18a8%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/c07402b3-d2e3-42f8-bb25-ab370a8b18a8%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/c07402b3-d2e3-42f8-bb25-ab370a8b18a8%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">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 [hidden email].
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.
Loading...