Jenkins builds a remote MAVEN project

Source: Internet
Author: User


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.