How to copy file from SSH remote host to Jenkins Server

后端 未结 3 695
长发绾君心
长发绾君心 2020-12-10 02:42

We are using Jenkins server for our daily build process and executes some bash scripts on remote hosts over SSH. This scripts are generating html log files on remote hosts.<

3条回答
  •  臣服心动
    2020-12-10 02:59

    I think you can generate ssh keypair and pass it to the slave as a parameter with, for example, Config File Provider Plugin

    Then just use scp to retrieve files using this keypair for authentication process.

提交回复
热议问题