tfs

How to extract WorkItems from query in VSTS (Azure DevOps) with Python REST API?

丶灬走出姿态 提交于 2020-01-16 15:19:11
问题 I'm using the official Python REST API of Azure DevOps: https://github.com/Microsoft/azure-devops-python-api Thanks to the samples I have been able to retrieve information on Test Cases from ids. How to do it from queries (WIQL)? Here is my code so far (with modified tokens and links): from vsts.vss_connection import VssConnection from msrest.authentication import BasicAuthentication token = "hcykwckuhe6vbnigsjs7r3ai2jefsdlkfjslkfj5mxizbtfu6k53j4ia" team_instance = "https://tfstest.toto.com

Integrating Karate with TFS pipeline

故事扮演 提交于 2020-01-16 11:12:09
问题 Build and release system we use is TFS, soon migrating toe Azure Devops. I am trying to introduce an automation framework for contract tests with Karate. Can Karate be integrated with the build jobs in TFS as part of the CI pipeline? 回答1: Karate is a java API test-automation tool that can be implemented using Maven or Gradle. It can be used to run on any CI/CD pipeline using any repository management. Team Foundation Server is both repository management and CD/CD pipeline tools. Please refer

Unable to run powershell script remotely leading to test agent deployment failures in Azure

て烟熏妆下的殇ゞ 提交于 2020-01-16 05:19:12
问题 I am having a setup where I need to run automation script from a test agent. But the build step fails with the following message connecting to remote server DevBox02 failed with the following error message : The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the

Track merged changesets from deleted branch

我的梦境 提交于 2020-01-16 04:26:06
问题 I find the 'Track Changeset' feature in TFS useful to allow me to visualise which changesets have been merged into Main which works as an audit when checking the state of our codebase. However when a branch has been merged and subsequently deleted I am unable to retrieve the changeset that was merged. How do I discover that the newly deleted branch was brought into Main before being deleted? This is trivial in SVN (as we have the 'Copy from path' and 'Revision' columns against each file).

How to configure Visual Studio (TFS) to use BeyondCompare3 (broken for xml files)

随声附和 提交于 2020-01-16 02:54:28
问题 I used the instructions on the BeyondCompare website (also referenced in this SO question) to configure VS2010 (TFS) to compare source control using Beyond Compare. This approach appears to be broken. The file in the left-hand view (from the server) does not appear at all in BC3, and a Conversion Error is reported. Upon further inspection, I noticed that the filename generated by Visual Studio when serving up the file from the source control (i.e., the previous revision) looks like this:

Service running out of TCP connections

风格不统一 提交于 2020-01-16 01:57:07
问题 I have a windows service, created using c# .net 4.0, which is a monitor for a few things - it has a timer on it, and it has a timer to run it every 5 mins. So it has a timer control, and in the timer there is a Elapsed event: private void Timer_Elapsed(object sender, System.Events.ElapsedEventArgs e) { FileMonitor fileMon = new FileMonitor(url); } Whats happening is that in FileMonitor, its making a connection to a TFS server project, using the TfsTeamProjectCollection class as such:

OpenSSL SSL_connect: SSL_ERROR_SYSCALL VS2017 Community / TFS

ぃ、小莉子 提交于 2020-01-16 01:17:32
问题 I can't sync my local git with visual studio online. This is the error I get Git failed with a fatal error. unable to access 'https://mysite.visualstudio.com/DefaultCollection/_git/MajorMaintScopeChallenge/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mysite.visualstudio.com:443 Update: It's on a PC Windows 8 回答1: It sounds like an issue in your network setting then (maybe a proxy or a firewall blocking access to the remote repository), as indicated by this line: OpenSSL SSL

Errors & warnings after putting Project in TFS

女生的网名这么多〃 提交于 2020-01-15 12:49:31
问题 I have created a web application,it is getting build successfully with 0 error & warning,now i have one more member with me to work on same project,i have migrated my solution to TFS,but now while building i am getting 5 errors and 221 warnings. Error is same on 5 locations(The call is ambiguous between the following methods or properties: 'ExtensionMethods.ChkDBNull(object)' and 'ExtensionMethods.ChkDBNull(object)')AND Warning is also same in 221 differernt location with different files and

Connect to TFS programmatically from vs 2017

﹥>﹥吖頭↗ 提交于 2020-01-15 11:55:07
问题 I am using TFS 15.x. package . Error: Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: 'TF30063: You are not authorized to access "https://myproject.visualstudio.com/RpaCodeReview' Uri Repurl = new Uri("https://myproject.visualstudio.com/RpaCodeReview"); NetworkCredential netCred = new NetworkCredential(username, password); VssBasicCredential basicCred = new VssBasicCredential(netCred); VssCredentials tfsCred = new VssCredentials(basicCred); TfsTeamProjectCollection tpc =

Wix project error in TFS build

核能气质少年 提交于 2020-01-15 11:41:47
问题 I am building a solution that contains a Wix v3.6 project on Team Foundation Server (TFS 2010). The solution also contains some other class library projects. The TFS build is unsuccessful with the following error: light.exe : error LGHT0103: The system cannot find the file 'Path\assembly.dll' with type ''. I have checked that the file (assembly.dll) in question and it does exists at the given path. The file in question is actually the output of another project in the solution. Apart from this