Azure Devops best practices for pipeline versioning with TFVC

SFHeuberger 1 Reputation point
2021-11-11T10:13:09.687+00:00

Hello, for context I will first describe the situation and afterwards the problem.

Situation:

In my company we are useing Azure Devops with TFVC as version control and our build + release pipelines are defined by configuring tasks using the UI which most of the time execute PowerShell scripts. We are also grouping tasks inside taskgroups, which are versioned with this built in Devops feature.

Since we are also using branches for Main, Dev, Release, etc. it's common that a pipeline for one branch uses a specific task group version. At the point when a merge happens we always have to update the version of the task group and also possibly fix issues with variable.

Problems:

  • The built in versioning task groups is limited, so you can only have one preview version at a time -> this is an issue if multiple people have to update the same task group at the same time, especially if people are working on different feature branches
  • the person updateing the pipeline for next production release is not always the person who did the changes, so might have trouble finding issues with variables
  • placing YAML-files with pipeline definitions is only supported for GIT-repositories and migrating to GIT it unfortunalty at this point no option

Question:

How do other people with a similar setup handle versioning of pipelines and taskgroups to avoid these problems?

Thank you in advance :)

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,941 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 85,871 Reputation points
    2021-11-11T10:22:25.213+00:00

    Hi @SFHeuberger ,

    Please note that Azure DevOps is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products.

    You may ask the experts in the dedicated Azure DevOps forum over here:
    https://developercommunity.visualstudio.com/report?space=21&entry=problem

    ----------

    If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!

    Best regards,
    Leon

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.