Questions tagged [azure-devops]

Azure DevOps is a suite of 5 services you use together or independently. For example, Azure Pipelines provides build services (CI) as well as release management for continuous delivery (CD) to any cloud and on-premises servers. Azure Repos provides unlimited private Git hosting, Azure Boards provides agile planning (issues, Kanban, Scrum, and dashboards). Please note that there's a separate tag for Azure DevOps Server (formerly TFS) - the on-prem version.

Azure DevOps (previously known as Visual Studio Team Services or Visual Studio Online) is the home for your project data in the cloud and provided by Microsoft.

Questions about Azure DevOps (including ) may be more appropriate at one of the other Stack Exchange sites, such as

You can get up and running in minutes and deploy to any cloud provider, including Microsoft Azure, using any language and IDE.

You can set up an environment that includes everything from hosted Git repos and project tracking tools, to continuous integration and continuous deployment. Azure DevOps includes:

  • Azure pipelines CI/CD that works with any language, platform, and cloud. Connect to GitHub, Azure Repos or any Git repository and deploy continuously.
  • Azure boards Powerful work tracking with Kanban boards, backlogs, team dashboards, and custom reporting.
  • Azure artifacts Maven, npm, and NuGet package feeds from public and private sources.
  • Azure repos Unlimited cloud-hosted private Git repos for your project. Collaborative pull requests, advanced file management, and more.
  • Azure test plans All in one planned and exploratory testing solution.

Pricing

For Open source projects, get unlimited users and build time for free with up to 10 parallel jobs on Linux, Windows or macOS hosted on servers by Microsoft.

For small teams the first 5 users are free:

  • Azure pipelines: 1 hosted job with 1,800 minutes per month for CI/CD and 1 self-hosted job
  • Azure boards: Work item tracking and Kanban boards
  • Azure repos: Unlimited private Git repos
  • Azure artifacts: Package management
  • Load testing (20,000 VUMs/month)
  • Unlimited stakeholders

For growing teams, there are additional non-commitment monthly user plans available for additional team members starting at around $6 per user per month. Find out more here.

Updates

New features and updates are introduced to Azure DevOps Services every 3 weeks. Users will receive new features before they are rolled up into an update to the on-premises Team Foundation Server product. The release notes for each deployment is available by RSS feed and is summarized into an Azure DevOps Features timeline available here.

Tag usage

It is recommended to use the tag along with the specific product area tags:

Other resources

We have channels that you can also voice your concerns, FAQs, documentation and submit an idea:

30055 questions
51
votes
7 answers

How to Import project code from local machine to Azure Repos?

I have existing code on local PC in Visual Studio that I want to Import to the Azure Repos project. I have already created the Project in Azure DevOps. I have used Team Explorer in VS 2017 to Connect to my DevOps project. I don't know how to do the…
Don Baechtel
  • 627
  • 1
  • 6
  • 9
49
votes
8 answers

Free Online Team Foundation Server

Can anybody recommend a good free online Team Foundation Server repository? I found CodePlex but it's only for open source projects.
Ricibald
  • 9,369
  • 7
  • 47
  • 62
49
votes
7 answers

How can a script access Service Connections? (Azure Devops Pipelines)

According to https://learn.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints there's a rich array of Service Connection types. I can easily manage a set of service connections at the project level and set permissions to limit…
Bosh
  • 8,138
  • 11
  • 51
  • 77
48
votes
5 answers

How to get a branch name with a slash in Azure DevOps?

Azure Devops offers two variables containing information about the current git branch name: $(Build.SourceBranchName) and $(Build.SourceBranch). While SourceBranch contains the full reference to the branch, SourceBranchName is expected to contain…
hey
  • 2,643
  • 7
  • 29
  • 50
48
votes
6 answers

Adding Images in Azure DevOps Wiki

I'm trying to add a few images to the wiki in 1 of my Azure DevOps projects. When I use the absolute path as mentioned here https://learn.microsoft.com/en-us/azure/devops/project/wiki/markdown-guidance?view=azure-devops#images in the article, the…
Srivatsa Marichi
  • 649
  • 1
  • 5
  • 8
48
votes
3 answers

VSTS build agents - Can one computer run multiple build agents?

I have a Windows VM that hosts a VSTS build agent. Due to the number and length of builds that are running I would like to know whether multiple build agents can be hosted on one computer? That would allow a dedicated agent for slow builds, and a…
James Newton-King
  • 48,174
  • 24
  • 109
  • 130
47
votes
7 answers

Azure Pipelines - Is there a way to view the folder structure?

I'm struggling to picture the folder structure of azure pipelines. I know there are some implicit directories like: $(System.DefaultWorkingDirectory) $(Build.ArtifactStagingDirectory) Which are both folders on a specific build agent available from…
Cristian E.
  • 3,116
  • 7
  • 31
  • 61
47
votes
4 answers

How do I trigger build and test on a pull request in azure devops?

My git repo is hosted inside devops and I would like the code to be built and tests run when I create a pull request. However I can't see how to do this. I read about pull request triggers etc but I can not see how to add these as no option appear…
coolblue2000
  • 3,796
  • 10
  • 41
  • 62
46
votes
8 answers

Manual Trigger on Azure Pipelines Stages (YAML)

I'm setting up a pipeline using Azure Pipelines YAML format. I have created 3 stages: Build, Staging, and Production. As the names suggest, the Build stage builds the project and publishes the build artifacts. The Staging stage deploys to the…
hosjay
  • 901
  • 2
  • 7
  • 19
45
votes
5 answers

Azure DevOps : how to disable CI trigger on a YAML template pipeline?

In template pipelines you can't place any trigger statement such as trigger: none as specified in Microsoft's docs to disable ci trigger, so I wonder how do you prevent these pipelines from being executed every time you update them or any other yaml…
45
votes
7 answers

Is there a way to clone or copy an existing Ci/CD pipeline in Azure DevOps

I have a couple of CI pipelines that I'm using in Azure DevOps to build some Xamarin apps and I want to create a new one that merges the functionality of the two existing ones. Is there a way to copy or clone an existing pipeline so that I can make…
Chris Miller
  • 4,809
  • 4
  • 33
  • 50
45
votes
9 answers

Azure Pipeline Nuget Package Versioning Scheme, How to Get "1.0.$(Rev:r)"

I'm setting up an Azure Pipelines build that needs to package a C# .NET class library into a NuGet package. In this documentation, it lists a couple different ways to automatically generate SemVer strings. In particular, I want to implement this…
45
votes
2 answers

dotnet build vs publish on Azure DevOps

I have a .NET Core 2.0 console app. I can successfully build or publish this app and run it locally. I can also successfully build and publish this app in Azure DevOps. However, if I build the app in Azure DevOps, I cannot run the result. In Azure…
user687554
  • 10,663
  • 25
  • 77
  • 138
45
votes
4 answers

VSTS: Pass build/release variables into Powershell script task

Ideally, I would want to configure our Azure Web App application settings using build variables (on VSTS), for example: We perform our publish tasks using Powershell scripts. In order to set app settings, the following script could be…
Dave New
  • 38,496
  • 59
  • 215
  • 394
44
votes
4 answers

Azure Pipeline to trigger Pipeline using YAML

Attempting to trigger an Azure pipeline when another pipeline has been completed using a YAML. There's documentation indicating that you can add a pipeline resource with: resources: # types: pipelines | builds | repositories | containers |…
Alex Kaszynski
  • 1,817
  • 2
  • 17
  • 17