1

We are trying to migrate from tfvc to git and the most difficult part would be to recreate the builds.

The codebase is still the same so is there any possible way to share these custom definitions or atleast copy paste most of it into a new build definition?

Even just a straight up no would be really helpful in moving things forward.

RusinaRange
  • 341
  • 1
  • 4
  • 18

2 Answers2

0

Extract the common stuff into a custom build activity. Really though, the best option is to migrate to the new build system and leave XAML behind.

Daniel Mann
  • 57,011
  • 13
  • 100
  • 120
  • That's the idea if this doesn't pan out. Problem is there is like 22 builds we'd have to recreate. I've got two questions though. What do you mean when you say custom build activity? And would it be possible to have builds for tfvc and git at the same time with the new build system? – RusinaRange Dec 20 '16 at 07:32
0

I recommend that you migrate to new build system. Regarding TFVC team project, it can have git repositories and you can switch Repository type (e.g. TFVC, git) directly, the build steps/tasks can be the same.

enter image description here

starian chen-MSFT
  • 33,174
  • 2
  • 29
  • 53
  • Seems like it's not going to be possible to migrate without redoing the builds. This answers all the questions I had. I'll accept this by the end of the day if there isn't a more specific answer. – RusinaRange Dec 20 '16 at 10:57