Posts

Showing posts with the label tfs

MTM/VSTS “insert shared steps” query has different default per user

Image
MTM/VSTS “insert shared steps” query has different default per user These users never had MTM installed locally but seems to have different default for test case shared steps query. I'm not sure where to find these queries saved. or how to clear if it's cache related. I know if there is MTM installation on user local machine, it will save user config settings mtm.AddSharedStepsGrid somewhere in systemDrive:Users{UserName}AppDataLocalMicrosoftTeamTestv*" but this is also occurring on user machines without MTM installation. mtm.AddSharedStepsGrid systemDrive:Users{UserName}AppDataLocalMicrosoftTeamTestv*" 1 Answer 1 It has different default per user, cause the user have used/changed the query before. TFS web portal will auto cached the last query option which user have selected . You could test this in your side, just change some options, close the “insert shared steps” query, then...

TFS Releases keep getting stuck “In Progres”

TFS Releases keep getting stuck “In Progres” I am using TFS 2015 on-premise for all our builds and releases. Recently some of our releases have been taking far longer than normal to complete. A release that normally took 20 minutes has been taking several hours. We release to both on-premise web servers and Azure, and we get the problem with both. It doesn't happen with every release, which makes diagnosing the problem very difficult. We've re-started the TFS server but it still keeps happening. The on-premise releases are just a Windows Machine File Copy task and Azure releases are an Azure Web App Deployment task. All pretty straight forward. The problem only started recently (over a week or so ago). There have been no updates or changes to the TFS server, so can't fathom why this has started happening. Whats your Artifact size. ?The initial step of the release is by downloading the artifacts. If your artifact is too big. Then it will take...

Build process template not visible when creating build definition in TFS 2010

Image
Build process template not visible when creating build definition in TFS 2010 I am trying to add a new build process template (XAML) to TFS 2010, using VS 2017. I have committed it under the BuildProcessTemplates folder for the team project and it is shown in the Source Control Explorer, but it doesn't show up in the drop down list on the Process tab of the Build definition dialog. The drop down list only shows the other 3 templates (DefaultTemplate.xaml, UpgradeTemplate.xaml...) in the folder. I found this description of how the dropdown list works: This list is populated with the following build process templates: The last bullet is a bit unintuitive, but it means that if a developer creates a new build definition in team project A, and adds a new build process template (for example by by selecting New and then browse to an existing .xaml file), this build process template will be available in the process dropdown list for all other build definitions in team project A....

How to find a TFS release in progress?

How to find a TFS release in progress? I need to fail a build on TFS 2018 if its pipeline is not fully complete. Batching just the build is not enough; the linked release must be finished as well before another build can begin. My idea is to do this in a PowerShell script via the REST API. I see in the official documentation here that there's a property called TaskStatus . It provides a value of inProgress , presumably for releases that are in progress. This might do the trick, but there's no indication of how to actually use it. TaskStatus inProgress Using the REST API, how can I get the TaskStatus of a given release? TaskStatus I don't understand why you'd want to do this. Can you give some context? A release failing doesn't necessarily mean that the build itself is bad. – Daniel Mann 2 days ago ...