CDD TFS task Run Build fails

book

Article ID: 144485

calendar_today

Updated On:

Products

Automic Continuous Delivery Director

Issue/Introduction

While using the CDD TFS Plugin we try to setup a TFS Run Build task but it results in an error:
Failed - Invalid input. Validate the provided project.

When reviewing the <CDD_HOME>/.cdd/logs/cdd_tfs_plugin.log it shows us that the call receives an http 400 response with the following result/message:
{"result":"error","message":"The value specified for Shelveset is not valid."}

Cause

This is related to the project configured to use Team Foundation Version Control for its version control (vs Git) and the Branch field not having a value in the CDD TFS Task.

Environment

Release : 7.1

Component : CONTINUOUS DELIVERY DIRECTOR

Team Foundation Server 2017/v15

Resolution

Set the TFS Task to specify a valid "Branch" name in the Branch field of the task. For example: $/TFVCProject