Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Team Foundation Server 2015 Customization

You're reading from   Team Foundation Server 2015 Customization Take your expertise to the next level by unraveling various techniques to customize TFS 2015

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781785888199
Length 208 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Gordon Beeming Gordon Beeming
Author Profile Icon Gordon Beeming
Gordon Beeming
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Creating a Dashboard and a Welcome Page 2. Streamlining Your Teams' Boards FREE CHAPTER 3. Customizing Your Process Template 4. Enhanced Work Item Forms with Field Custom Controls 5. The Guide Standards for Check-in Policies 6. Enforcing Standards with Server-Side Plugins 7. Customizing the TFS Build 8. Creating TFS Scheduled Jobs 9. Service Hooks 10. VSO Extensions Index

How do I know whether my TFS job is running?


The easiest way to check whether your TFS job is running or not is to check out the job history table in the configuration database. To do this, you will need the job ID (we spoke about this earlier), which you can obtain by running the following query against the TFS_Configuration database:

SELECT JobId 
FROM Tfs_Configuration.dbo.tbl_JobDefinition WITH ( NOLOCK )
WHERE JobName = 'Comments to Change Set Links Job'

With this JobId, we will then run the following lines to query the job history:

SElECT * 
FROM Tfs_Configuration.dbo.tbl_JobHistory WITH (NOLOCK)
WHERE JobId = '<place the JobId from previous query here>'

This will return you a list of results about the previous times the job was run. If you see that your job has a Result of 6 which is extension not found, then you will need to stop and restart the TFS job agent. You can do this by running the following commands in an Administrator cmd window:

  net stop TfsJobAgent
  net start TfsJobAgent...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime