Questions tagged [azure-devops]
67 questions
1
vote
1 answer
How to send notifications to teams using azure devops pipeline?
I saw there is a teams app for azure pipelines and while adding that it is asking for complete pipeline access to the group we add to.
Instead of using this, I just want to send notification to a teams group or individual users that build is…

Sara June
- 451
- 1
- 9
- 28
1
vote
1 answer
How to manage pipelines in multiple branches, in azure devops?
Let's say I have branch fetaure1, where there is pipeline file.
The trigger will be like this.
trigger:
- feature1
For development purpose, I created a new branch from it say (feature1_deveoper1)
But, even though this new branch has this…

Sara June
- 451
- 1
- 9
- 28
1
vote
0 answers
How to install custom version of maven in azure devops pipleine?
I have installed adopt openjdk 16 using the task below.
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- script: |
wget…

Sara June
- 451
- 1
- 9
- 28
1
vote
1 answer
How to tag docker image with git commit code short id, in azure devops?
I saw few links where I can tag my docker image using ${Build.SourceVersion} in azure devops pipeline.
But it is using the complete ID of the commit.
But I want to use only the short ID.
I mean this (2cc7968) instead of this…

Sara June
- 451
- 1
- 9
- 28
1
vote
1 answer
azure pipeline getting failed with below Failed to acquire a token Kubernetes Task
One of the stage in my azure pipeline getting failed with below error "Failed to acquire a token: failed acquiring new token: waiting for device code authentication to complete: autorest/adal/devicetoken: Error while retrieving OAuth token: Code…

Satyam Pandey
- 111
- 2
1
vote
1 answer
Azure DevOps: Maven is not installed on agent
I have an Azure Pipeline that is meant to install Java 16 and the run Maven package on my repository. The pipeline looks like this:
trigger:
- master
pool:
vmImage: ubuntu-latest
steps:
- task: JavaToolInstaller@0
inputs:
versionSpec:…

SimonTheGoat
- 31
- 1
- 3
1
vote
2 answers
No admin/elevated privileges in PowerShell on Azure VM
I have set up an Azure VM with Windows 10 Pro for our custom DevOps build Agent. The user that I've created is Administrator and is in the Administrators group too.
However, if I do:
RDP to VM via that user with admin privileges
Run PowerShell (not…

krs
- 131
- 1
- 4
1
vote
1 answer
The need for Azure Firewall
I just need some help to figure out if Azure Firewall is actually needed for the below architecture. Just to set some context, we are using a micro-services based architecture deployed in AKS. Apart from that we have already configured Web…

Manoj Karthik
- 11
- 1
1
vote
1 answer
"Resource is not in the state changeSetCreateComplete" when deploying to AWS with CloudFormation from Azure DevOps
I'm deploying an application to AWS using the CloudFormation plugin for Azure DevOps.
It works really well, and will automatically update things that need changing, leaving other things alone. I've been working on it for a few days, and it works…

mdarwin
- 121
- 10
1
vote
1 answer
How to activate an asp.net core website /api after deplyment with devops releases?
I'm deploying an asp.net core web app to various test servers whenever updated code is pushed. It works well.
I would however like to call an endpoint on the deployed web app after release to verify that all is indeed ok.
I've got the endpoint ready…

Anders Juul
- 173
- 1
- 1
- 4
0
votes
1 answer
Azure DevOps Bash script Pull request validation
I want to create a small bash script that checks whether a pull request is started from the correct branches, or exits on error if it is not.
This was my final attempt/iteration before I posted this question:
if [[ -n…

SynerCoder
- 137
- 6
0
votes
1 answer
Azure VM extention Failed to Delete
Azure VM extension installed on windows server. But its status is unavailable. Unable to uninstall it.
Failed to delete the virtual machine extension
Failed to delete the virtual machine extension 'AzureNetworkWatcherExtension'. Error: error

vish
- 156
- 5
0
votes
1 answer
Create a new App Service during deployment on Azure DevOps
How can I create a new instance of App Service using the Azure CI/CD? My goal is to run the test E2E in each branch automatically and enable QA to test. I couldn't find any material about it. I am open to other options using containers etc.

Fernando Magno
- 115
- 8
0
votes
1 answer
How to connect BitBucket Server on Azure VM with Azure DevOps?
I have a Azure VM with BitBucket Server Installed. How do I connect this to Azure DevOps for establishing a CI-CD pipeline ?

Maximusawesome
- 111
- 4
0
votes
0 answers
How do I create a Service Hook Web Hook in Azure DevOps using a client certificate?
the service I want to connect my webhook to requires a client certificate when communicating via SSL/TLS. I already downloaded the certificate files, how can I add my certificate to the service hook / web hook of my azure devops project settings.
I…

gorillanerve
- 3
- 1