New Task in Hudson

Source: Internet
Author: User
Tags svn

1. Add the service in Hudson and build it automatically

Open Hudson Home, click New Task

Select Copy Existing task, enter the copied task name and the new service task name, click OK

Find the task after you've created it, click Settings

Configure the SVN path where the service code is located (provided when development submits the test)

Then configure the deployed server


If the server already exists, click the Name drop-down box to select directly


If it's a new server, you need to add a deployment node to system management.




Source files fills in the war package name of the service to be built (target/), in general the name matches the service name in the SVN path, and if the inconsistency notifies the developer to modify

https://172.16.10.249/svn/Code/ZhangTongHome/Server/SchoolServer/trunk/51110



Remote directory fills in the path to the server to which the service pack is to be copied, omitting the root directory (typically/home, as configured in system settings)


Exec command fill in the path of the restart script (below the bin directory)


In the case of new Tomcat, there is no restart.sh script by default, you need to copy the past from the current service, or copy from the test svn


Click Save, Hudson Configuration complete


Click Build to check if the log is properly deployed and started successfully

To view the deployment log:


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.