I'm moving a particular set of builds from an existing Visual Studio Team Service project to a new one. Unfortunately, I cannot locate a way to migrate the build definitions from one project to another. There doesn't appear to be an import/export function or another mechanism.
Is there a way to move these without manually recreating the builds in the new project?
In Visual Studio 2019 version 16.8 and later On the start window, select Clone a repository. In the Browse a repository section, select Azure DevOps. If you see a sign-in window, sign in to your account. In the Connect to a Project dialog box, choose the repo that you want to connect to, and then select Clone.
Open Visual Studio. On the start window, select Clone a repository. Enter or type the repository location, and then select the Clone button.
By signing in as a member of an Azure DevOps project, you can clone private repos that are accessible to you, and public repos. Visual Studio supports search, clone, and sync operations on repos that are accessible through authentication.
You can get the TFS project from Visual Studio. First, you have to connect the project via Team Explorer in Visual Studio then add a server and click 'select team project' and you're done. It is downloaded to your PC.
This is now available from within the VSTS Build Definitions web UI:
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With