Talking about the cognition of Jenkins ' continuous construction

Source: Internet
Author: User

Through a number of building Jenkins continued to build the environment, finally to Jenkins have a further understanding, here to learn the gains and share with you, hope can help you quickly master Jenkins core ideas.

After installing Jenkins's Setup.exe program, the browser automatically opens the Jenkins home page and configures various parameters via the Jenkins home page.

procedure One: Install the MSBuild plugin plugin for Jenkins, which is used to support MSBuild.exe construction work;

Process Two: Configure the plugin, tell which version of MSBuild.exe is used by the MsBuild plugin plug-in to build , for example. Net4.0 used is C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe to complete the construction;


Process Three: Configure the job's SVN address to tell Jenkins where to download and detect the version of the Code;


Process Four: Configure the detection frequency of Jenkins;


process five: Tell Jenkins which MSBuild current job is built with, and to what path;


/t:resolvereferences; compile/t:_copywebapplication/p:configuration=release/p:webprojectoutputdir=d:\jenkins_publish\dev_metadata/p : Outputpath=d:\jenkins_publish\dev_metadata\bin
For example, I build the path: D:\Jenkins_Publish\DEV_Metadata;

procedure six: In IIS new Web site, set the physical path of the Web site to D:\Jenkins_Publish\DEV_Metadata;


This way, after we submit the code to SVN, we can build the project manually in Jenkins, publish the project to IIS, or set up the Jenkins Auto-build project to keep the latest version of the project on IIS always available.

In fact, Jenkins is like a platform, we tell Jenkins the source address in advance, how long to detect the version of the source, with what tools to build the project to what path, and then we set the physical path of the Web site in IIS is the build path of Jenkins, The final effect is a code update, and the latest version of the project appears in IIS, using Jenkins to complete the project's ongoing build effort.

Talk about the continuous building of Jenkins

Related Article

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.