安装插件

搜索安装插件:publish over ssh
jekins部署到另一台服务器

配置插件

系统管>SSH Servers
jekins部署到另一台服务器

新建的react配置

因为我这里是react项目,所以拿它举例子.
记得是配置 构建环境>Send files or execute commands over SSH after the build runs.
如果选择了构建后操作>执行shell,那么编译失败则不会执行ssh发送操作
jekins部署到另一台服务器

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2021-07-01
  • 2022-12-23
  • 2021-04-08
  • 2021-12-09
  • 2021-06-09
  • 2022-12-23
猜你喜欢
  • 2022-01-11
  • 2021-12-12
  • 2021-04-13
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2021-10-04
相关资源
相似解决方案