Questions tagged [azure-releases]

29 questions
3
votes
1 answer

Azure Pipelines - Microsoft-hosted agent - windows latest vs windows-latest

In Azure DevOps Release Pipeline for a Agent Job I can choose either windows latest or windows-latest as Agent Specification for Agent pool Azure Pipelines. I have not seen this anywhere else and the documentation does not mention it either. Given…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
2
votes
1 answer

How to deploy nodejs expressjs app in Azure with CI/CD?

I'm trying to deploy a nodejs with expressjs app. My pipeline is this: This create a correct artifact: We can check here: Now I create this release that uses the artifact I mentioned previously: The steps in release: And after release…
2
votes
1 answer

How to get artifacts in the response from Azure DevOps REST API call that lists all releases?

I am using Azure DevOps rest API to get list all releases and artifact build ID's associated with each release. The call function: GET https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/releases?api-version=7.1-preview.8 list all…
2
votes
1 answer

How to install packet on Linux Azure App Service

I want to run my .net 5 app on a Linux app service that has specific libraries (for example ibnss3-dev). I have pipeline for build: trigger: - main pool: vmImage: ubuntu-20.04 variables: buildConfiguration: 'Release' wwwrootDir:…
2
votes
1 answer

How do you use an environment variable within a task group in Azure DevOps?

I have a task group that contains two tasks: one is a PowerShell script that fetches a value, and the second is an "Azure Functions" task that deploys a function. I would like to use the value from the first task in the second task (as an app…
1
vote
1 answer

Powershell script is working locally but throws 'Exception calling "ReadAllText" ' on on Azure release pipeline

As my title says I am trying to get following actions taken on Azure release pipeline: Open .zip file Find the JSON file with this name Edit it and save it Close the .zip file Also, as my title says I managed to make it work locally, and it…
Kadaj
  • 615
  • 3
  • 13
  • 31
1
vote
2 answers

Login to Azure CLI from Azure PowerShell task in DevOps Pipeline

I have a set of small scripts written i PowerShell using the Az module that perform some maintenance tasks as part of a release pipeline in Azure DevOps. One of these scripts use the Azure CLI for one of its operations so I need to authenticate with…
1
vote
1 answer

How do I automatically cancel a release that is waiting on a POST-DEPLOYMENT approval when there is a new release available?

I understand how to do this for releases with a PRE-DEPLOYMENT approval pending. It's in Pre-deployment conditions > Deployment queue settings > Subsequent releases > Deploy latest and cancel others. And there's lots of existing StackOverflow posts…
edgar_is
  • 126
  • 10
0
votes
1 answer

Access pipeline variables in Azure Release for classic python task

I have a Python script that has url, token, location, and version as environment variables. I trigger it using the classic Python task. I declared these variables inside the pipeline variables section, and inside the code, I did the…
0
votes
0 answers

Automate Java Cucumber test cases in Azure Devops

I'm trying to integrate Cucumber tests written in maven, and pushed/associated the test cases using SpecSync. I'm suppose to run this automation tests. I see without VsTest task the automation runs are not possible. In case of adding this task, it…
0
votes
1 answer

How to create pipeline with Jenkins and Azure Release?

I am having a Jenkins which takes care of build process which publishes docker image to `Azure Container Registry`, post which I would like to deploy them to `Azure Kubernetes Service`. For that, I am planning to use Azure Release, however I am…
0
votes
0 answers

Azure DevOps Release.ApproverDisplayName variable not Found

I use Azure DevOps predefined variables for many functions and reports I had earlier used a variable like Release.Approver/Release.ApproverDisplayName which would contain details about who approved a stage for deployment but now when I search in the…
0
votes
0 answers

Google Play Store Release Shows Duplicate Releases on Internal Testing Track

I use Azure DevOps Release pipeline to push updates for my mobile app to Google Play Store. Specifically, I am using this release extension - https://marketplace.visualstudio.com/items?itemName=ms-vsclient.google-play. The release task seems to…
0
votes
1 answer

How to cancel running azure yaml pipeline?

I have a yaml pipeline which has three stages. All stages having jobs and I have around 10-12 tasks in each job. When run pipeline and if I cancel it, it keeps running in background until all task executed. It does not go to next stage after I…
0
votes
1 answer

The EntryPoint setup.bat is not found -Deploy Service Fabric Application

Angular project azure pipeline build is successful , while doing release there is error. AZURE CI - OK AZURE CD - FAIL (The EntryPoint setup.bat is not found.) LOGDETAILS [![2023-02-16T06:34:23.2807130Z ##\[debug\]Evaluating condition for step:…
1
2