Questions tagged [azure-pipelines]

For questions about Azure Pipelines, which is a proprietary Microsoft CI solution for deploying your applications.

Filter by
Sorted by
Tagged with
2
votes
1answer
13 views

How to deploy Dev Azure SQL code to Prod Azure SQL using dacpac without knowing the target server credentials

Here is my scenario - I have access to source Azure SQL Database where i did few changes to schema (eg adding a table). Now I want to deploy this SQL code to prod Azure SQL Database using Azure ...
0
votes
0answers
8 views

Why does Azure Devops pipeline need to have a service principal configured when you already have a “service connection” in Azure Devops?

Im going through the "Automate your deployments with Azure DevOps" curriculum (its for terraform) and it has a section on creating the Devops' "service connection", where you have to create a service ...
1
vote
1answer
32 views

How to make .DACPAC from Azure Sql Server using Azure DevOps release pipeline?

I'm using Terraform to create my environment and I'd like to deploy Azure Sql Server along with other things. I use terraform so I can easily destroy all deployed things and reduce costs when I'm not ...
0
votes
1answer
49 views

Azure Pipelines: Exclude folders using Azure App Service Deploy

I have an Azure DevOps Pipeline which includes an Azure App Service Deploy task (AzureRmWebAppDeployment) for deploying an ASP.NET Core 3.1 project: - task: AzureRmWebAppDeployment@4 inputs: ...
1
vote
1answer
96 views

Project pipeline not able to access NuGet package from Artifact Feed in different Project

Updated 20th Feb & 21st Feb Summary Not able to find NuGet package from our private feed under Artifacts. Our Azure DevOps environment In Azure, we have our company "space": dev.azure.com/...
0
votes
0answers
9 views

Azure DevOps compatibility with BitBucket / Azure Repos

Don't want to start a war on which repo is better but we have need to go through some security loops to be able to use Azure Repos. Traditional Bitbucket On prem is the way to go as it is on prem and ...
0
votes
0answers
10 views

Azure pipeline 'WinRMCustomScriptExtension' underlying connection was closed in non-public VM

In Azure pipeline when creating a VM through deployment template, we have the option to 'Configure with WinRM agent' as given below. This acts as a custom extension behind the scenes. But the ...
0
votes
1answer
44 views

Applying manifests in Azure DevOps pipeline

Basically, I want the pipeline to apply some manifests before deploying images from ACR. No images need to be made. It would just be things like applying the issuer.yaml, ingress.yaml, and maybe a few ...
2
votes
1answer
71 views

Azure DevOps - how to create a 2nd Microsoft-hosted Agent Pool

I am using Azure DevOps. I have 5 Microsoft-hosted agents. And 10 pipelines. One pipeline in particular can get a bit grabby, so I want to restrict it to use just 2 agents. But I want my other 9 ...
0
votes
0answers
17 views

How to instantiate a Backend on Azure DevOps Pipelines?

So I have a webapp consisting of the following Stack: Node.js + Express.js for the Backend, MongoDB for DBMS, Angular for Frontend. Now I want to test my webapp in Azure DevOps completely. The ng test ...
0
votes
2answers
22 views

'find' command suddenly not working in windows hosted agents

In the YAML file defining our ADO build pipeline we have the following section - bash: | pip install pylint find preprocessing/ subtyping/ visualisations/ -name '*.py' | grep -v hmm | grep -v ...
2
votes
1answer
55 views

How to arrange builds for staging and production with Azure DevOps?

On Azure DevOps I need to build and deploy a ClickOnce application. Because this application needs to be signed (including config) I must create a build for staging and a build for production. I ...
1
vote
1answer
25 views

Azure devops, fortnightly build trigger

I'm trying to write a build pipeline that runs every second friday (essentially at the end of a sprint). Using the classic editor it appears I can only set a trigger that would run every friday. Is ...
2
votes
1answer
149 views

Publish pipeline artifact to Slack

I have a pipeline on Azure DevOps that publishes an artifact (releasenotes.txt). It also has integration with Slack using ( https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/slack?...
0
votes
1answer
19 views

Where Azure DevOps Services Enviromnent come into play?

I am trying to understand where you actually use the environments you setup in a project. I though I could use them to deploy on specific servers from deployment agent which are hosted on another on ...
0
votes
0answers
6 views

How to terminate dotnet process via DotNetCoreCLI task

I am trying to run a dotnet API on my build server via some Azure DevOps pipeline tasks by doing dotnet run. All this is working fine, but how do I terminate the process via a pipeline task? How do I ...
1
vote
1answer
18 views

Is it possible to force to false or true the App.config transformation with arguments on Azure DevOps Pipeline?

Is it possible to force the TransformOnBuild to false using MSBuild parameters in Azure DevOps? So I Use Azure DevOps Pipeline to build a clickOnce application for a staging environment Here is my ...
1
vote
1answer
84 views

Azure DevOps - Conditionally Build and Deploy

Say we have 6 microservices in a monorepo, each with their own CI build pipeline that is currently only building each project and running unit tests. Is there a way to identify which projects have had ...
2
votes
1answer
281 views

How to install aws cli on a self-hosted azure DevOps Windows agent?

I have quite some difficulties installing aws cli on a self-hosted Azure DevOps Windows agent as part of a pipeline. Does anyone have a working solution? What I have tried so far: a) install aws cli ...
5
votes
2answers
337 views

Azure Devops, multiple on-prem environments, variables per environment

I've configured first deployment pipeline to an on-prem DEV environment. The project consists of 3 identical environments, DEV, UAT and PROD While their setup is exactly alike, their config (database ...
0
votes
1answer
94 views

How to pass variables between build/deploy tasks in a TaskGroup in VSTS 16.131.28601.4

I have a multi-configuration web application I'm using parallel deployments, leveraging Task Groups for reusing my deployment code. I've been using Powershell tasks and the ##vso[task.setvariable ...
2
votes
2answers
1k views

Rename build pipeline .yml files in Azure DevOps

I have a .NET Core application that has three build pipelines. (Windows, Linux, macOS) In each of them, the application gets assembled a little different. This part works so far. Azure created for ...
1
vote
1answer
73 views

How do I get Azure Release Pipelines to move a .jar from a Build Pipeline job and place it on a Linux VM?

I know Azure release pipelines can deploy to on-premise servers and other cloud VMs. My pom.xml file enables Maven to create a .jar file. My Azure build uses this pom.xml file. The Azure build ...
2
votes
1answer
106 views

How do I get the UUID of a build Mac from Azure DevOps?

I'm trying to set up an Azure DevOps pipeline to build a macOS app. I think I have all the necessary steps in place, and it runs as far as I expect it to for now. However, I now have reached the step ...
0
votes
0answers
36 views

Update release variable value via Azure DevOps Service EndPoint

I am currently researching the Azure DevOps ServiceNow Extension. There is a Pre-Deploy Gate that outputs a variable PREDEPLOYGATE.adop.CHANGE_REQUEST_NUMBER which i would like to capture into a ...
3
votes
1answer
444 views

Single Build with Multiple Artifacts

I'm a little confused on the Azure Pipeline steps. My solutions has many projects and one UI project that contains both an ASP.Net-Core WebApi/MVC with Angular. the Build Solution builds similar to ...
0
votes
1answer
195 views

Reading two Repos in Azure Build pipeline

I created a Build pipeline in Azure using classic editor and selected empty job instead of using any template. This way provides option to connect only one repository at once. My requirement is to ...
4
votes
0answers
404 views

Multi-branch release pipeline in Azure Devops for multiple artifact triggers [closed]

Overall problem I seem to run around myself in circles with this problem. Either I'm doing something wrong, or Azure Devops simply does not support it. For the simplest case (we've got many products ...
0
votes
1answer
298 views

Pushing code changes from Pipeline back to repo/branch, using Git!

Here is the scenario: We are trying to "automate" our Salesforce development with Azure Pipelines. Since Salesforce is very unique when it comes to deploying changes, I have tried to create a Pipeline ...
2
votes
1answer
226 views

Storing Code Signing Certificate

I own a public and open-source Windows Forms/C# application in a Github repo that I want to start code signing with my certificate through Azure Pipelines CI. I have set up my pipeline and it is ...
0
votes
1answer
349 views

Git Remote Access in Azure Pipelines, possible?

I'm trying to achieve the following through the build pipeline. Default branch: SIT (from the Azure Repos repository) Trigger: whenever a change is made in DEV branch In a powershell task do the ...
0
votes
1answer
284 views

Azure DevOps and private Docker registry

When I try to add a Service connection to a private Docker registry in Azure DevOps, it seems I have to provide a Docker Hub (Docker ID) user and password. Why is that? I just want to push to our ...
0
votes
1answer
37 views

Building .Net apps outside Docker?

My company uses Azure DevOps and utilized Pipelines for building, testing and deploying (currently NuGet packages) .Net Framework apps. My boss has made it clear he wants us to containerize all our ...
0
votes
1answer
265 views

How to get Github username variable in Azure DevOps build pipeline?

I have an Azure DevOps pipeline build configuration which builds automatically with the master branch. I want to access the GitHub user or username who committed last. If I access variables $(Build....
2
votes
1answer
675 views

Can we reuse Variables across variable groups in Azure DevOps?

I'm using DevOps to deploy Azure Data Factory ARM template I'm using a deployment pipeline to take artifacts from a prior build pipeline and deploy to various environments (TEST, PROD) I've created ...
2
votes
1answer
160 views

How to get dependency from file share in Azure DevOps pipeline

We are trying to set up a CI pipeline for building several Docker containers and deploying them to a container registry using Azure DevOps. Our code, the Docker and configuration files all reside in a ...
0
votes
2answers
2k views

CI/CD pipelines Azure devops automatic merge after deploy release

I have a classic env. setup like following: I have 2 branches : Develop and Master. Is there any way in azure devops to setup the following rule: When a deploy is succeeded on dev environment (...
1
vote
1answer
120 views

Gitflow with pull request or pull request

My team is currently using gitflow workflow into develop branch. Here is an overview for what we are doing. We are a sql server data warehouse team using Azure repos and Azure devops to build and ...
1
vote
0answers
42 views

How to I get a TFS CI Build to Bastion Host? [closed]

My company is implementing Azure for the first time. We have applications doing Devops stuff( CI/CD) on-prem. Now, we are going to deploy to Azure from on-Prem. But we are connecting to Azure through ...
1
vote
1answer
201 views

Azure Devops: Filter Test Projects in Nuget Build Pipeline

I'm working on a nuget build pipeline. My problem is that my integration test project is being packaged and deployed to the azure artifacts, while my unit test projects are not. The integration test ...
3
votes
1answer
510 views

What is happening in an Azure Devops build and release?

I'm finding the Azure devops documentation pretty poor - or maybe I'm just not familiar enough with it for it to make any kind of sense to me. Having said that, I've managed to create a build pipeline ...
2
votes
2answers
586 views

How to setup Azure DevOps Pipelines and Releases with multiple apps

Wanting to deploy a collection of .NET Core API's (microservices) using Azure DevOps I run into some challenges: Having 10+ small API's, how should I setup the Release Pipeline? One pipeline with one ...
0
votes
1answer
862 views

How to setup multiple build environments in Azure DevOps/TFS2018?

So I have an application that contains an ASP.NET Core backend and a React frontend (pure static). In our TFS 2018, we have created a Build that does the following: Get sources from the repo Get ...
0
votes
2answers
521 views

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?

I have code repo held in Collection 1 and, using this code repo, I am trying to create a Build artifact and Release definition in a different Collection 2. Is this even possible?
1
vote
2answers
2k views

Azure DevOps Pipeline Conditional Flow with Manual Intervention

I am wondering if Azure DevOps has the ability to do conditional flow as part of a release definition. My use case: I have a PowerShell script that deploys a SQL Server DACPAC to create or update a ...
12
votes
4answers
15k views

Jenkins vs Azure DevOps Pipelines

I've been doing some research on the Azure DevOps solution that Microsoft recently unveiled. Some background, I've been using Jenkins for years, and recently started exploring the containerisation ...
2
votes
0answers
104 views

Creating a task for a backlog item automated in the release pipeline of VSTS [closed]

I'm looking for a possibility to create a task and attach it to a backlog-item from the release pipeline in Microsofts TFS/VSTS. So far I couldn't find anything that would make this possible. Has ...
2
votes
1answer
110 views

What package managers are supported on Microsoft hosted agents with CMake enabled?

Here, I can read that it is possible to setup a CMake build on a Microsoft hosted vsts agent. What C++ package managers (e.g. Conan) are supported for these agents? It would be great if at least one ...
1
vote
1answer
426 views

Problem Restore EF Core 2.1.1 in VSTS, Hosted VS2017

I have a project with Asp.Net Core 2.1.1, so I have to force the runtime to 2.1.1, when I added the EF Core 2.1.1 packages (SqlServer, Design and Tools). Locally the project performs well, however in ...
-3
votes
1answer
215 views

Installing Ansible Controllers to build agents which best practice to use?

Trying to implement infrastructure as code. I need the ansible controller machine which pulls the updated playbooks from the git and run the playbooks to create the infrastructure. The issue is I have ...