Closed SdnaMunish closed 6 years ago
Tfvc tasks only support tfvc repositories. I have no support for git repositories in these tasks and they're not intended to.
On Nov 21, 2017 12:41, "SdnaMunish" notifications@github.com wrote:
Hi,
I have to check in one file during VSTS build process. During the VSTS build, one of the task is updating one of the file and we have to check in that file in the repository.
We are using GIT to check in and check out.
I have added 'TFVC Build Tasks' in our build definition. Below is the log details of this task:
2017-11-18T04:17:28.0218394Z ##[section]Starting: Check changes into source control 2017-11-18T04:17:28.0218394Z ==============================
2017-11-18T04:17:28.0218394Z Task : TFVC - Check-in changes 2017-11-18T04:17:28.0218394Z Description : Checks in any files changed in the repository. 2017-11-18T04:17:28.0218394Z Version : 1.2.4 2017-11-18T04:17:28.0218394Z Author : Jesse Houwing 2017-11-18T04:17:28.0218394Z Help : Version: 1.2.4. More Information https://github.com/jessehouwing/vsts-tfvc-tasks/wiki/Check-in 2017-11-18T04:17:28.0218394Z ==============================
2017-11-18T04:17:28.0288430Z Preparing task execution handler. 2017-11-18T04:17:36.7798778Z Executing the powershell script: d:\a_tasks\TFVCCheckin_31f040e5-e040-4556-878a-59a47c7128bd\1.2.4\ TfvcCheckin.ps1 2017-11-18T04:17:38.1626312Z ##[warning]Only TfsVersionControl source providers are supported for TFVC tasks. Repository type: System.Collections.Hashtable 2017-11-18T04:17:38.2386446Z ##[section]Finishing: Check changes into source control
I have attached a screenshot of TFVC task.
Please suggest what I am missing. [image: tfvc] https://user-images.githubusercontent.com/33772332/33070692-e59be3f4-cede-11e7-8201-76a4d2d07a41.PNG
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jessehouwing/vsts-tfvc-tasks/issues/56, or mute the thread https://github.com/notifications/unsubscribe-auth/AD-uSxQockKbRqOutJpTKv6OGbVwJzX8ks5s4rbkgaJpZM4QltCf .
Thanks for you reply.
Do you have any idea which task support for git repositories?
Hi,
I have to check in one file during VSTS build process. During the VSTS build, one of the task is updating one of the file and we have to check in that file in the repository.
We are using GIT to check in and check out.
I have added 'TFVC Build Tasks' in our build definition. Below is the log details of this task:
2017-11-18T04:17:28.0218394Z ##[section]Starting: Check changes into source control 2017-11-18T04:17:28.0218394Z ============================================================================== 2017-11-18T04:17:28.0218394Z Task : TFVC - Check-in changes 2017-11-18T04:17:28.0218394Z Description : Checks in any files changed in the repository. 2017-11-18T04:17:28.0218394Z Version : 1.2.4 2017-11-18T04:17:28.0218394Z Author : Jesse Houwing 2017-11-18T04:17:28.0218394Z Help : Version: 1.2.4. More Information 2017-11-18T04:17:28.0218394Z ============================================================================== 2017-11-18T04:17:28.0288430Z Preparing task execution handler. 2017-11-18T04:17:36.7798778Z Executing the powershell script: d:\a_tasks\TFVCCheckin_31f040e5-e040-4556-878a-59a47c7128bd\1.2.4\TfvcCheckin.ps1 2017-11-18T04:17:38.1626312Z ##[warning]Only TfsVersionControl source providers are supported for TFVC tasks. Repository type: System.Collections.Hashtable 2017-11-18T04:17:38.2386446Z ##[section]Finishing: Check changes into source control
I have attached a screenshot of TFVC task.
Please suggest what I am missing.![tfvc](https://user-images.githubusercontent.com/33772332/33070692-e59be3f4-cede-11e7-8201-76a4d2d07a41.PNG)