Book Image

Team Foundation Server 2013 Customization

By : Gordon Beeming
Book Image

Team Foundation Server 2013 Customization

By: Gordon Beeming

Overview of this book

<p>Team Foundation Server offers you the benefit of having all your data in one system with all tools tightly integrated with each other, making it easier for teams to work together. Knowing how to customize the Team Foundation Server is very useful as well as powerful. Having the knowledge and applying it to TFS can save users many hours as well as make it easier to understand the data in TFS for reporting purposes.</p> <p>This book will show you how to customize various TFS features in order to create an enhanced experience for your users and improve their productivity. You will create custom controls that will be used in client applications and inside the web access. Next, you will learn how to embed a web page inside your work items to display rich information linked to the work items you are opening.</p> <p>This book will show you how to modify a team’s process template, and then slowly get to grips with some C# code and create a scheduled job.</p> <p>Using this book, you will create a JavaScript web access plugin that greatly increases productivity. You will start off by making various modifications to the process template to illustrate how we can cater to custom data requirements, and then we will move towards writing code to perform more complex customizations.</p> <p>Customizing Team Foundation Server 2013 is one of the best methods you can use to provide rich data for reporting in TFS.</p>
Table of Contents (13 chapters)
Team Foundation Server 2013 Customization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Checking the job history


To check the job history, we will query the TFS Configuration database again. This time, we will look at the tbl_JobHistory table, and we will use the JobId from the earlier query.

select * from Tfs_Configuration.dbo.tbl_JobHistory WITH (NOLOCK)
where JobId = '0A887841-7FFD-423A-9ED8-D69BAD9949A0'

This should return an output similar to the following screenshot:

Job history

If you see that your job has a Result of 6 (extension not found), then you will need to stop and start the TFS Job Agent. You can do this by running the following commands in an Administrator CMD window:

net stop TfsJobAgent
net start TfsJobAgent

After the agent has started again, you will see that the Result field is now different as a job agent that will know about your job.

Another way to view the job history is to browse to your TFS server with the URL _oi/_jobMonitoring#_a=history after the site root. For example, http://gordon-pc:8080/tfs/_oi/_jobMonitoring#_a=history. On this page, you will...