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 ...
user avatar
  • 4,716
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.
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 ...
user avatar
4 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 ...
user avatar
2 votes

Difference between azure devops, azure devops server and TFVC

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....
user avatar
  • 419
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 ...
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 ...
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. ...
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 ...
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: ...
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 ...
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-...
user avatar
  • 1,162
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), ...
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 ...
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 ...
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 ...
user avatar
  • 12.6k

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