Jenkins uploads files to other servers via SSH plugin

Jenkins uploads files to other servers via SSH plugin

1 Install Publish Over SSH plug-in

First, Jenkins needs to install the Publish Over SSH plug-in, find the plug-in management, search and download

2 Configure SSH plugin

After installing the Publish Over SSH plug-in, click System Management -> System Settings, and find the Publish Over SSH section in the system settings interface

Insert picture description here

Click the advanced option, the configuration is as shown in the figure:

Insert picture description here

After configuration, click test configuration to test that it is connectable, if it can, it means the configuration is successful

3 use

Insert picture description here

Reference to (thanks to him for sharing, like!): https://blog.csdn.net/MenofGod/article/details/81941223

Guess you like

Origin blog.csdn.net/dndndnnffj/article/details/109557411