Using Jenkins to configure the. NET MVC Web site for Continuous Integration II

Source: Internet
Author: User

Previous article using Jenkins to configure the. NET MVC site for continuous integration One simply introduces the Jenkins build site to the local server, which explains how to deploy the site to the specified server.

1. IIS Remote Publishing Configuration

1. Install "Management Service" in Server Manager (no need to install if already exists)

1.1 Server Management-----> Roles----->web Server IIS

1.2 Click "Add role Services" in the lower right corner, and the Select "Select Role Services" dialog box appears.

1.3 Select "Manage Service" and click "Next"-----> click "Install". After the installation is complete, reopen Server Manager to see the "Manage Services" icon in the Internet Information Services (IIS) Manager main interface.

1.4 Open the Management Services main interface, start the remote connection, and set the connection IP address (server IP address) and port. Then, start service management.

1.5 The port number that is added to the firewall's inbound rules (if there is already a set to enable) service management.

2. Installing and configuring the Web Deploy

Web Deploy:http://www.iis.net/downloads/microsoft/web-deploy

2.1 After the download is complete, open the installation package and select "Full Install" in the selection screen.

2.2 After the installation is complete, reopen Server Manager, right-click any Web site name in the Internet Information Services (IIS) Manager main interface, and select deploy to pop up the level two menu from the pop-up menu.

2.3 Click "Enable Web Deploy publish" in the level two menu that pops up in the previous step, pop up the "Enable Web Deploy Publish" dialog box, select a system administrator user authorization (non-Administrator account publishing may have permissions issues), set "Specify the URL of the publisher connection" The IP and port numbers in

(That is, the IP and port set in 1.4)

2.4 Click the Settings button in the Enable Web Deploy Publication dialog box. The text that appears in the results is set successfully. The configuration to this server is all done, and the next step is to release it in VS2012!

3, using VS2012 Remote publishing site

3.1 Publish dialog box settings: "Service url" is the URL of "Specify the URL of Publisher connection" in 2.3, "Web site/Application" is a Web site enabled "Web Deploy publishing" on IIS, the user name and password is the user account and password set in 2.3, select " Allow untrusted Certificates (U) "

And then take this configuration file msd_154 follow the continuous integration with the Jenkins configuration. NET MVC site, just set it to the new msd_154 in the configuration file.

/t:rebuild/p:configuration=Release/p:allowuntrustedcertificate=True/p:password=welcome123; Publishprofile=msd_154;deployonbuild=true; visualstudioversion=11.0

Using Jenkins to configure a. NET MVC site for continuous integration two

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.