Visual Studio Team Foundation Server 2010 - Microsoft

2
Team入口網站設定 ‧使用SharePoint來進行建立專案時 的文件協同工作 ‧分享預設流程範本的流程導引 選擇一個流程範本 ‧選擇一個適合自身軟體開發生命週期的流程 範本 ‧在專案中建立一個客製化的流程範本– 在開發階段不使用TFS環境所提供的流程範本 ‧組建策略建立在不同的分支類型上 ‧在整個專案生命週期中執行組建驗證測試 ‧執行靜態程式碼分析及確認重要的錯誤規則 ‧反覆項目對應產品的發佈時程中的里程(milestone) ‧每一個反覆項目的時間約3-4週 ‧區域對應產品的功能 ‧為了隔離的需求建立分支策略 ‧原始碼結構會反應出分支策略 RI’s之前執行FI’ s ‧啟動簽入原則(Check-in Policy)– 工作項目簽入原則提供進階的追蹤能力 詳細設定原始碼控制 ‧為了新產品建立一個空的資料夾 ‧為了產品的新版本建立一個分支 可使用本機帳號或是Active Directory ‧將TFS存取對應到Active Directory groups ‧將SharePoint Security Groups對應到 Active Directory groups ‧將Reporting Services存取對應到 Active Directory groups Active Directory Groups中維護TFS使用者 1.建立一個Team專案 2.存取設定 3.設定區域及反覆項目 4.設計原始碼設定管理 5.設定組建策略 Visual Studio Team Foundation Server 2010 如何開始建立團隊專案 流程範本 MSF for Agile Software Development v5.0 (支援Scrum開發流程) MSF for CMMI Process Improvement v5.0 Team Foundation Server 群組 [Project]ProjectManagers [Project]Contributors [Project]Readers [Project]Build 分支 組建策略 Development Main Daily Build Continous Integration Release Daily Build 1. TfsAdmin.chm 2. TfsAdmin.chm – Managing Users and Groups 3. TfsAdmin.chm MSDN上的Visual Studio – http://msdn.microsoft.com/zh-tw/vstudio/default.aspx 4. http://www.codeplex.com/BranchingGuidance 5. TfsAdmin.chm Visual Studio ALM Ranger – http://msdn.microsoft.com/zh-tw/vstudio/ee358786(en-us).aspx 參考資料: Visual Studio ALM Rangers, Copyright © 2009 Microsoft Corporation WoodGroveBanking Dev Dev-1 Dev-2 Main V1 V2 RTM Hotfix Service Pack Source Source Source Source Source Source $

Transcript of Visual Studio Team Foundation Server 2010 - Microsoft

Page 1: Visual Studio Team Foundation Server 2010 - Microsoft

Team入口網站設定‧使用SharePoint來進行建立專案時

的文件協同工作

‧分享預設流程範本的流程導引

選擇一個流程範本

‧選擇一個適合自身軟體開發生命週期的流程

範本

‧在專案中建立一個客製化的流程範本–

 在開發階段不使用TFS環境所提供的流程範本

‧組建策略建立在不同的分支類型上

‧在整個專案生命週期中執行組建驗證測試

‧執行靜態程式碼分析及確認重要的錯誤規則

‧反覆項目對應產品的發佈時程中的里程(milestone)‧每一個反覆項目的時間約3-4週

‧區域對應產品的功能

‧為了隔離的需求建立分支策略

‧原始碼結構會反應出分支策略

‧RI’s之前執行FI’s‧啟動簽入原則(Check-in Policy)– 工作項目簽入原則提供進階的追蹤能力

詳細設定原始碼控制

‧為了新產品建立一個空的資料夾

‧為了產品的新版本建立一個分支

可使用本機帳號或是Active Directory‧將TFS存取對應到Active Directory groups‧將SharePoint Security Groups對應到 Active Directory groups‧將Reporting Services存取對應到 Active Directory groups‧Active Directory Groups中維護TFS使用者

1.建立一個Team專案 2.存取設定

3.設定區域及反覆項目4.設計原始碼設定管理5.設定組建策略

Visual Studio Team Foundation Server 2010 如何開始建立團隊專案

流程範本

MSF for Agile Software Development v5.0

(支援Scrum開發流程)

MSF for CMMI Process Improvement v5.0

Team Foundation Server 群組

[Project]ProjectManagers

[Project]Contributors

[Project]Readers

[Project]Build

分支 組建策略

Development

Main Daily Build

Continous Integration

Release Daily Build

1. TfsAdmin.chm

2. TfsAdmin.chm – Managing Users and Groups

3. TfsAdmin.chm

MSDN上的Visual Studio – http://msdn.microsoft.com/zh-tw/vstudio/default.aspx

4. http://www.codeplex.com/BranchingGuidance

5. TfsAdmin.chm

Visual Studio ALM Ranger – http://msdn.microsoft.com/zh-tw/vstudio/ee358786(en-us).aspx

參考資料:Visual Studio ALM Rangers, Copyright © 2009 Microsoft Corporation

WoodGroveBanking

Dev

Dev-1

Dev-2

Main

V1

V2

RTM

Hotfix

Service Pack

Source

Source

Source

Source

Source

Source

$

Page 2: Visual Studio Team Foundation Server 2010 - Microsoft

SharePoint Services

Single Server事前檢查清單

下載最新版本的TFSInstall.chm 需要的權限及使用者帳號

安裝時所需要的連接埠(Ports)安裝 Internet Information Services [IIS]

安裝Team Foundation Server

安裝SharePoint Products及Technologies已支援版本:‧Windows SharePoint Services 3.0 SP1 or SP2‧Microsoft Office SharePoint Server 2007

安裝選項:‧SharePoint Product及Technologies在不同的 伺服器上 或‧在安裝Team Foundation Server時同時安裝  Windows SharePoint Services

預設連接埠但是可以修改

建議使用者帳號 需求元件

Server伺服器或背景應用程式 連接埠

‧下載最新版本的TFSInstall.chm 允許本機登入TFSREPORTSReporting

Team FoundationServer

SQL Server

SQL SERVER

SQL Browser Service (Database Engine) 1434

1433

2382

2383

80

80

17012

8080

8081

9191

8090

SQL Service (Database Engine)

SQL Server Analysis Services Redirector

SQL Server Analysis Services

SQL Server Reporting Services

SHAREPOINT PRODUCT及TECHNOLOGIES

Default Web Site

SharePoint Central Administration

TEAM FOUNDATION SERVER

Team Foundation Server

Team Foundation Server Proxy

Team Foundation Build

Team System Web Access

Team FoundationBuild

SharePointProducts andTechnologies

TFSSERVICE

TFSBUILD

WSSERVICE

SQLSERVICE

允許以服務方式登入

Web Server依需要的角色服務,

安裝角色服務:

‧ASP.NET

‧HTTP Redirection

‧IIS 6.0 Management

Compatibility

‧Windows Authentication

安裝Application Server角色:

‧ASP.NET 必須啟用

‧不可啟用:

FrontPage Server

Extensions

IIS 5.0 isolation

允許以服務方式登入

在資料庫中新增一組網域帳號

(WSSERVICE).可以提供專案入口網站的數位儀表板提供豐富的報表

在Team Foundation Server之前設定此帳號。Team Foundation Server針對此帳號沒有其它額外的需求

‧系統需求

‧支援32及64位元

‧檢查需要的權限及使用者帳號

‧安裝時所需要的連接埠(Ports)

系統需求

安裝 SQL Server 2008已支援的SQL Server 2008的版本:‧標準版‧企業版

SQL Server Collation Settings:‧必須是accent sensitive‧不可是case sensitive‧不可是Binary‧不可是Binary–code point

驗證:Windows 驗證

服務帳號:網域帳號或本機帳號

Team Foundation Server需要的SQL Server功能:‧資料庫引擎‧全文檢索‧管理工具

Reporting Services功能(非必要):‧Analysis Services‧Reporting Services

事先安裝需要的軟體

Visual Studio Team Foundation Server 2010 單一伺服器安裝 – 使用安裝精靈快速安裝

1. http://go.microsoft.com/fwlink/?LinkId=127730

2. TFSInstall.chm – System Requirements

3. TFSInstall.chm – Accounts Required for Installation

4. TFSInstall.chm – Ports required for installation

5. TFSInstall.chm – Installation Prerequisites – Internet Information Services

6. TFSInstall.chm – Installing Prerequisites – SQL Server

參考資料:Visual Studio ALM Rangers, Copyright © 2009 Microsoft Corporation

7. TFSInstall.chm – Installing Prerequisites – SharePoint Product and Technologies

8. TFSInstall.chm – Installing Prerequisites – How to install Team Foundation Server

1 2 3

4567

8

Application and Data Tier ServerSingle Processor 3.6GHz

2GB RAM230GB Disk

Application and Data Tier ServerDual Processor 2.8GHz

4GB RAM500GB Disk

Users Proc Disk RAM

5-20 Single 8GB 356MB

20-100 Single 30GB 512MB

100-250 Single 50GB 1GB

250+ Dual 80GB 2GB

Build Server(s)

250

450

Single Server Deployment