Jenkins Continuous Integration Tutorial

Source: Internet
Author: User

in the process of developing a project, if there are too many modules and complicated procedures, it is inevitable to integrate the system. Here's a small compilation of Jenkins 's integrated tutorials.

This project takes the project under development as an example, the project is divided into the client and the service side, we take the integration of these two modules as an example, demonstrate how to use Jenkins to integrate our system.

First , we need to identify the destination of the integration, i.e. where we want to integrate the source code.


The second is the order of integration, where we first integrate the server, and then integrate the client.

sign in to Jenkins, see the home page, build your workspace, and build it in your workspace.


Fill in the name of the building system module, generally use the name of the project solution;

As shown in the following:


After writing the name, then choose the Source management method


Then select


1. The server needs to configure three MSBuild;

The BLL layer implementation:


Wcf:


1. The client also needs to configure the Csproj file and output path;

2. Note : The output path only needs to be configured by WCF, other tiers do not need to be configured.

4. Output path specification

The WCF layer output path is as follows:

Path requirements:

/t:resolvereferences; compile/t:_copywebapplication/p:configuration=release/p:webprojectoutputdir=E:\ITOO4.0_Publish\ Basicsystem\basicstudent\itoo. Student.server

/p:outputpath=E:\ITOO4.0_Publish\basicsystem\basicstudent\itoo. Basicstudent.server\bin

The red part of the naming requirements are consistent;

The Green part of the naming requirements is the name of their own system;

The naming requirement of the yellow part is the name of the system module in each system;

Before building the project, you need to create your own bat file for your build module on the server (in the case of permissions organization user Authorityorganizationuser), as shown in:



Call E:\ITOO4.0_Publish.bat\FreshConfigureManageService.bat

Create your own BAT file under the corresponding path



Complete the configuration of the bat file you created, including the following two aspects:


When the creation is complete, click the Build button.




Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Jenkins Continuous Integration Tutorial

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.