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