Book Image

Team Foundation Server 2015 Customization

By : Gordon Beeming
Book Image

Team Foundation Server 2015 Customization

By: Gordon Beeming

Overview of this book

Table of Contents (17 chapters)
Team Foundation Server 2015 Customization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Creating TFS Scheduled Jobs

In this chapter, we are going to cover TFS scheduled jobs. The topics that we are going to cover include:

  • Writing a TFS job

  • Deploying a TFS job

  • Removing a TFS job

You would want to write a scheduled job for any logic that needs to be run at specific times, whether it is at certain increments or at specific times of the day. A scheduled job is not the place to put logic that you would like to run as soon as some other event, such as a check-in or a work item change, occurs.

In our example, we'll create a TFS job that will be able to replace one of the examples we created in Chapter 6, Enforcing Standards with Server-Side Plugins. It will automatically link change sets to work items based on the comments.