jenkins ssh发布配置
2019獨角獸企業重金招聘Python工程師標準>>>
jenkins安裝插件Publish over SSH
?? ?
系統配置中配置SSH
SSH Server配置
??? ?Name?? ??? ??? ??? ??? ?:SshServerAlias
??? ?Hostname?? ??? ??? ??? ?:192.168.*.*
??? ?Username?? ??? ??? ??? ?:root
??? ?Remote Directory?? ??? ?:?? ?/
?? ?Passphrase / Password?? ?:?? ??? ?填寫密碼
?? ??? ?
?JOB中配置Publish over SSH
?? ?
構建后操作
Send build artifacts over SSH
SSH Server ?? ?Name:SshServerAlias?? ?
Transfers?? ?
Transfer Set
??? ?Source files?? ??? ?target/a.war
??? ?Remove prefix?? ??? ?target
??? ?Remote directory?? ?/opt/tomcat1
??? ?Exec command?? ??? ?/opt/tomcat1/bin/deploy.sh
轉載于:https://my.oschina.net/kenzheng/blog/861537
總結
以上是生活随笔為你收集整理的jenkins ssh发布配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: express 对数据库数据增删改查
- 下一篇: Sublime Text 3添加右键