Jenkins Building a remote maven Project
Introduction
local jenkins address |
remote tomcat address |
Jenkins working directory |
Tomcat |
192.168.1.130 |
223.203.219.136 |
/var/lib/jenkins/job |
/opt/docker/ |
Install remoteScpthe plugin(Publish over SSH)
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7D/02/wKioL1beclzjF5FQAABUXrsvj-s698.png "title=" Picture 1. PNG "alt=" Wkiol1beclzjf5fqaabuxrsvj-s698.png "/>
Configuration SSH remote hosts, This enables the execution of remote script commands
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7D/03/wKiom1becemDDwUQAABudYl8wao051.png "title=" Picture 2. PNG "alt=" Wkiom1becemddwuqaabudyl8wao051.png "/>
ConfigurationPublish over SSH
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7D/03/wKiom1becffSwzgHAADEuHwd044404.png "title=" Picture 3. PNG "alt=" Wkiom1becffswzghaadeuhwd044404.png "/>
Building a remoteMavenProject
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7D/03/wKiom1becguRKA5aAABy8w_qoIs910.png "style=" float: none; "title=" Image 4.png "alt=" Wkiom1becgurka5aaaby8w_qois910.png "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7D/03/wKiom1becgvSeTr8AAA77GX5mDQ459.png "style=" float: none; "title=" Image 5.png "alt=" Wkiom1becgvsetr8aaa77gx5mdq459.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7D/03/wKiom1becg6Sjbd9AADNP3In4OE502.png "style=" float: none; "title=" Image 6.png "alt=" Wkiom1becg6sjbd9aadnp3in4oe502.png "/>
Save Immediate Build project
This article from the "Do not ask for the best, only better" blog, please be sure to keep this source http://yujianglei.blog.51cto.com/7215578/1748745
Jenkins builds a remote MAVEN project