Hot answers tagged

6 votes

How to keep original and new repositories in sync during a migration? (including the commit history)

Simply keep pushing stuff between the repositories. Git pushes are designed for exactly that. So, if origin is the old repository, and newis the new one, and you want to move new stuff in the master ...
AnoE's user avatar
  • 4,866
5 votes

Where does TFS 2017 actually store artifacts?

There are two options when publishing artifacts: Server and File Share. If you publish to the server, they are stored in the TFS database. You can't configure the location, however you can configure ...
Daniel Mann's user avatar
4 votes

Does TFS Build have something like a Jenkinsfile?

Visual Studio Team Services has a YAML Build feature in public preview that allows you to store your build definitions as source controlled files.
Daniel Mann's user avatar
4 votes
Accepted

Does TFS Build have something like a Jenkinsfile?

The strict answer is no, in that there is no direct equivalent to a Jenkinsfile. However, there are Build Process Templates and you can use the Psake Build Automation tool in combination with ...
Richard Slater's user avatar
2 votes

How to use git repositories in Azure Devops with Visual Studio

Q: "What should I do in order to work with Team Foundation Version Control?" A: TL'DR: Use the TFS command line client, tf. ? But why use TFVC ? Azure DevOps is confusingly several products....
Ian W's user avatar
  • 449
1 vote
Accepted

How do I trigger a build pipeline on a TFVC branch commit to map and get that branch?

You've discovered one of the great pitfalls with TFVC. I have also not found an answer to this issue. The only possible option I've seen around getting code from TFVC out of different branches is to ...
Peter's user avatar
  • 221
1 vote

Why does TFS only support 1-to-many Predecessor /Successor relationships?

Because this link has direction from one side to another. Only one work item can on the start of this direction. However, work item: Can has many successor Can has many predecessor. This type of ...
Shamrai Aleksander's user avatar
1 vote
Accepted

How to handle resource creation?

You can use Terraform for azure to handle the dynamic creation of azure resources in the release pipeline in Azure DevOps. Terraform maintains a state file for all the created resources after a run. ...
Raju Dasupally's user avatar
1 vote

Migrating from TFVS to GIT using GIT-TFS

As of Azure DevOps Server 2019, migration from Team Foundation Version Control (TFVC) to Git is a simple import command. However, there are caveats to the migration due to how very different Git is ...
Sumo's user avatar
  • 235
1 vote
Accepted

TFS Service hook should not fire when work item is updated via REST API

The service hook will fire as part of the notifications process. You can suppress all notifications by setting the URI parameter suppressNotifications to true. An example request URI might be: ...
Sumo's user avatar
  • 235
1 vote

TFS Back-up Notifications

I believe your primary issue is that you have this group of users in the [Team Foundation]\Team Foundation Administrators group or possibly many users added with privileges to the Administration ...
Sumo's user avatar
  • 235
1 vote
Accepted

How to setup multiple build environments in Azure DevOps/TFS2018?

This is a general issue with react apps that is independent of what CI/CD stack you use that is discussed at https://stackoverflow.com/questions/49975735/rendering-an-environment-variable-to-the-...
simbo1905's user avatar
  • 1,172
1 vote
Accepted

In Azure Devops and TFS, is it possible to create a build artifact and release definition in a different collection than the original code repository?

Since on-premise TFS and the newly renamed Azure DevOps Server 2019 still have the concept of collections, which is the highest level of separation of data you can have (separate physical databases), ...
Sumo's user avatar
  • 235
1 vote

Test coverage of changed code in pull requests in git-tfs

IMHO from the workflow prospective code coverage measurements are fundamentally similar to builds, smoketests or any other types of QA checks and can thus be performed in similar manner. I can see ...
Dan Cornilescu's user avatar
1 vote

Why is my build script only failing when it is run in a vNext build?

The conflict is occurring between ngc and webpack. When rimraf aot && ngc -p ./tsconfig-aot.json is moved to its own script and executed prior to test and build:prod:aot then running test and ...
Aaron's user avatar
  • 41
1 vote

Build user for Visual Studio Online

In my opinion, there should always one key per user: Security: If an employee will leave the company then the key could be revoked and the person who left the company cannot trigger builds anymore ...
030's user avatar
  • 13.1k

Only top scored, non community-wiki answers of a minimum length are eligible