Continuous Integration Tutorial
Continuous Integration Resources
Selected Reading
- CI - Best Practices
- CI - Deployment
- CI - Database
- CI - Inspection
- CI - Testing
- CI - Documentation and Feedback
- CI - Build Failure Notifications
- CI - Defining Tasks
- CI - Creating a Project in TeamCity
- CI - Checking in Source Code
- CI - Building On the Server
- CI - Build Scripts
- CI - Building a Solution
- CI - Requirements
- CI - Features
- CI - Version Control
- CI - Reducing Risks
- CI - Software
- CI - Overview
- CI - Home
Continuous Integration Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
CI - Build Scripts
Continuous Integration - Build Scripts
现在,请看MSBuild档案的某些方面,看它们的含义。 这些方面很重要,可以从持续融合周期中了解。
建造文字是为了建立解决办法,而解决办法将成为整个持续一体化周期的一部分。 让我们看一下作为视频演播室一部分在.Net为我们的样本解决方案而创建的一般建筑文字。 建筑文字相当庞大,即便是简单的解决办法,我们也会走到其中最重要的部分。 定时,建筑设计书将存放在一份档案中,名称与“视力”网站的主要解决方案相同。 因此,就我们而言,如果你打开文件,Simple.csproj,你将看到将用来建立解决办法的所有环境。
依赖于使用的MSBuild版本—— 以下设施将使用在CI服务器上安装的MSBuild文档。
<VisualStudioVersion Condition = " $(VisualStudioVersion) == ">10.0</VisualStudioVersion> <VSToolsPath Condition = " $(VSToolsPath) == "> $(MSBuildExtensionsPath32)MicrosoftVisualStudiov$(VisualStudioVersion) </VSToolsPath> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <Import Project = "$(MSBuildBinPath)Microsoft.CSharp.targets" /> <Import Project = "$(VSToolsPath)WebApppcations Microsoft.WebApppcation.targets" Condition = " $(VSToolsPath) ! = " /> <Import Project = "$(MSBuildExtensionsPath32)MicrosoftVisualStudiov10.0 WebApppcationsMicrosoft.WebApppcation.targets" Condition = "false" />
适当建立解决办法所需要的文件——ItemGroup 标签将包含所有必要的内容。 项目成功建立所需的净文档。 这些档案需要相应地在建筑服务器上居住。
<ItemGroup> <Reference Include = "Microsoft.CSharp" /> <Reference Include = "System.Web.DynamicData" /> <Reference Include = "System.Web.Entity" /> <Reference Include = "System.Web.ApppcationServices" /> <Reference Include = "System.ComponentModel.DataAnnotations" /> <Reference Include = "System" /> <Reference Include = "System.Data" /> <Reference Include = "System.Core" /> <Reference Include = "System.Data.DataSetExtensions" /> <Reference Include = "System.Web.Extensions" /> <Reference Include = "System.Xml.Linq" /> <Reference Include = "System.Drawing" /> <Reference Include = "System.Web" /> <Reference Include = "System.Xml" /> <Reference Include = "System.Configuration" /> <Reference Include = "System.Web.Services" /> <Reference Include = "System.EnterpriseServices"/> </ItemGroup>
哪些是需要使用的网络服务器环境—— 当我们访问我们不断部署的专题时,你将看到,将如何利用国际会计准则理事会来压倒这些环境,并将之部署到我们选择的服务器。
<UseIIS>True</UseIIS> <AutoAssignPort>True</AutoAssignPort> <DevelopmentServerPort>59495</DevelopmentServerPort> <DevelopmentServerVPath>/</DevelopmentServerVPath> <IISUrl></IISUrl> <NTLMAuthentication>False</NTLMAuthentication> <UseCustomServer>False</UseCustomServer>Advertisements