Build.targets (19): TF10131: The shelveset name _Build_XXXXX?queueId=XXXX contains more than 64 characters, contains one of the following characters: "/:<>\|*?; or ends with a space. Type a valid name and try again. Build.targets (19): The "Get" task failed unexpectedly.

by XDK 14. April 2014 11:41

Explanation:

This error occurs when attempting a gated checkin following environment:

* TFS 2012 Update 3 or earlier updates application server

* TFS 2010 SP1 Build Server

* "UpgradeTemplate.xaml" used for build process

Solution:

This is a known issue that has been fixed with TFS 2012 Update 4

Tags: , ,

Azure DevOps on-premises | TFS 2010 | TFS 2012

How to install TFS update on TFS Servers?

by XDK 9. April 2014 20:32

STEPS:

1. Log on to your TFS App tier

Note : Make sure you had backed up all databases related to TFS before installing the update

2. Use TFSServiceControl quiesce command to ensure that all necessary operations, services, and application pools are stopped for maintenance tasks

  • TFSServiceControl quiesce

3. Install the update.

4. Run the TFS Admin console tool to configure the TFS App Tier for installed update.

5. Use TFSServiceControl unquiesce command to start all necessary operations, services, and application pools for TFS

  • TFSServiceControl unquiesce 

If you have multiple app tier(s), proceed with step 1 to 3 on each app tier one by one first and then proceed with step 4 and 5 on each app tier one by one.

Tags: ,

TFS 2012 | TFS 2013

How to clone a build definitions from one project to another within a same collection?

by XDK 7. March 2014 12:31

Solution:

You can use TFS power tools command line utility to clone a build definition across projects

Note: You can download and install TFS Power Tools from http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f

1. Open "Visual Studio" command prompt

2. You can use the following command to preview the build definition clone

tfpt builddefinition /clone "<Source Team Project Name>\Build Definition" "<Target Team Project Name>\Build Definition" /Collection:http://tfs:8080/tfs/DefaultCollection /preview

3. You can use the following command to clone the build definition

tfpt builddefinition /clone "<Source Team Project Name>\Build Definition" "<Target Team Project Name>\Build Definition" /Collection:http://tfs:8080/tfs/DefaultCollection

Only the well-defined build definition can be cloned using this approach meaning the build source build definition should have all the mandatory (required) properties filled with values

For example:

The source build definition without Build controller name cannot be cloned using this approach.

You can also use * wildcard character to clone all build definitions at one shot, provided you have well-defined build definition at source team project.

tfpt builddefinition /clone "<Source Team Project Name>\*" "<Target Team Project Name>\"  /Collection:http://tfs:8080/tfs/DefaultCollection

Remember to update the following build properties to the cloned build definition. 

1. Disable build definition to prevent accidental triggering.

2. Change workspace mapping to target team project source.

3. Change drop location.

4. Change the build process template to point to the right projects.

5. If you use custom build workflow/tasks, make sure your build controller custom assembly references are pointed to target team project source control

6. Enable the build definition.

 

Tags: , ,

TFS 2010 | TFS 2012 | TFS 2013

TFS Install and Configuration Requirements

by XDK 5. February 2014 09:59
TFS Server install requirements TFS 2012 TFS 2013 TCP Ports  Accounts
Server Operating System          
Versions        
Windows Server 2008 SP2 (Standard, Enterprise, Datacenter) Yes No    
Windows Server 2008 R2 SP1 (Standard, Enterprise, Datacenter) Yes Yes    
Windows Server 2012 (Essentials, Standard, Datacenter) Yes Yes    
Windows Small Business Server 2011 (Essentials, Standard, Premium Add-On) Yes Yes    
Windows Home Server 2011 Yes No    
Windows Server 2012 R2 (Essentials, Standard, Datacenter) No Yes    
Default Ports        
Team Foundation Server     8080  
Team Foundation Server Proxy     8081  
Service accounts        
TFS        TFSSERVICE
TFS Proxy        TFSPROXY
SQL Server          
Versions        
SQL Server 2008 R2 (Express, Standard Edition, Enterprise Edition) Yes No    
SQL Server 2012 (Standard Edition, Enterprise Edition) Yes No    
SQL Server 2012 SP1 Yes Yes    
Features & configuration        
SQL Core        
Database Engine Services Yes Yes    
Full-Text and Semantic Extractions for Search Yes Yes    
Reporting        
Reporting Services – Native Yes Yes    
Analysis Services Yes Yes    
Collation settings        
Must be accent sensitive Yes Yes    
Must not be case sensitive Yes Yes    
Must not be Binary Yes Yes    
Must not be Binary - code point Yes Yes    
Authentication        
Windows authentication Yes Yes    
Service accounts        
SQL Server        SQLSERVICE
SSRS        TFSREPORTS
Default Ports        
SQL Service (Database Engine)     1433  
SQL Browser Service (Database Engine)     1434  
SQL Server Analysis Services Redirector      2382  
SQL Server Analysis Services     2383  
SQL Server Reporting Services     80  
SharePoint        
Versions        
Windows SharePoint Services 3.0 (Foundation, Standard, Enterprise) Yes No    
Microsoft Office SharePoint Server 2007 (Foundation, Standard, Enterprise) Yes No    
Microsoft SharePoint Server 2010 (Foundation, Standard, Enterprise) Yes Yes    
Microsoft Office SharePoint Server 2010 (Foundation, Standard, Enterprise) Yes Yes    
Microsoft SharePoint 2013 (Foundation, Standard, Enterprise) Yes Yes    
Microsoft Office SharePoint Server 2013 (Foundation, Standard, Enterprise) Yes Yes    
Default Ports        
Default website     80  
SharePoint Central Administration     17012  
Service accounts        
SharePoint Products        WSSSERVICE
Team Build OS         
Versions        
Windows Server 2008 SP2 (Standard, Enterprise, Datacenter) Yes No    
Windows Server 2008 R2 SP1 (Standard, Enterprise, Datacenter) Yes Yes    
Windows Small Business Server 2011, with latest SP Yes Yes    
Windows Server 2012 (Essentials, Standard, Datacenter) Yes Yes    
Windows Server 2012 R2 (Essentials, Standard, Datacenter) Yes Yes    
Windows 7 32-/64-bit (Home Premium, Professional, Enterprise, Ultimate), with latest SP Yes Yes    
Windows 8 32-/64-bit (Basic, Pro, Enterprise) Yes Yes    
Windows 8.1 (Basic, Pro, Enterprise) Yes Yes    
Default Ports        
Build     80  
Service accounts        TFSBUILD
Team Foundation Build      9191  
Project Server        
Versions        
Project Server 2007 Yes No    
Project Server 2010 Yes Yes    
Project Server 2013 Yes Yes    

 Reference : 

 

Tags: ,

Azure DevOps on-premises | TFS 2012 | TFS 2013

How to trigger multiple build definition from a master build definition?

by XDK 21. January 2014 17:48

Solution:

The attached TFS build workflow (.XAML) can be used to trigger multiple build definition from a master build definition. Basically you can sequence multiple build definitions in one master build definition

TFSChainBuildTemplate.11.xaml (14.00 kb)

Reference

Tags:

Team Build

About the author

My name is Xavier Dilip Kumar Jayaraj having 16+ years of IT experience which includes solid experience and depth Knowledge in Application Life Cycle Management, Configuration Management, Implementation and Support using TFS on-premises and Azure DevOps. I have invested in gaining DevOps knowledege to expertise with Cloud Computing providers namely Microsoft Azure and Amazon Web Services in recent years. I am very positive to learn and adapt emerging technologies to client’s environment.

Microsoft Certified: Azure Administrator Associate

Microsoft Certified: Azure DevOps Engineer Expert

DevOps Engineer Certificate Program | Transcript 

OTP-AWSD5: AWS IoT: Developing and Deploying an Internet of Things

[PCEP-30-01] PCEP – Certified Entry-Level Python Programmer

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

CategoryList

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.