How do I use SSH in a Jenkins pipeline?

后端 未结 4 1164
离开以前
离开以前 2020-12-09 18:09

I have some Jenkins jobs defined using a Jenkins Pipeline Model Definition, which builds NPM projects. I use Docker containers to build these projects (using a common image

4条回答
  •  孤街浪徒
    2020-12-09 18:25

    Use the SSH agent plugin:

    • SSH Agent Plugin
    • SSH Agent Plugin

    When using this plugin you can use the global credentials.

提交回复
热议问题