Questions tagged [azure-devops-pipelines]

269 questions
0
votes
0 answers

Multiple artifacts fail to trigger release pipeline

I have a pipeline with 2 artifacts (2 different Universal Packages in the same feed). The CD trigger is enabled for both, however neither of those 2 packages will trigger the pipeline. Here’s a screenshot of the pipeline: Am I missing something in…
Jonas
  • 88
  • 1
  • 6
0
votes
1 answer

Universal Package artifact - use package view in pipeline

I have a release pipeline that is triggered whenever a new version of a Universal Package is published. Now, as my package can be promoted to a specific view (defaults are @local, @prereleas or @release), I'd like to use the selected view in a…
Jonas
  • 88
  • 1
  • 6
0
votes
1 answer

Can Use other repositories yml file to other pipeline

Repo 1 and Branch Name: Repo1Branch trigger: - none pool: vmImage: 'ubuntu-latest' steps: - script: echo Hello, world! I want to call Repo 1 form Repo 2 pipeline Repo 2 and Branch Name: Repo2Branch trigger: - none pool: vmImage:…
0
votes
1 answer

Bash Error while calling ARM template in Azure Devops

I am trying to do an ARM deployment using bash but getting this error ArgumentUsageError: argument --template-uri/-u: expected one argument What am I doing wrong here? - task: AzureCLI@2 inputs: azureSubscription: 'Pay-As-You-Go' …
0
votes
2 answers

401 Unauthorized error while using custom scope PAT in preview REST API calls

We are noticing 401 Unauthorized error while using custom scope PAT in preview REST API calls(Trying to fetch data related to Deployments/Environments created by Yaml…
0
votes
1 answer

How do I perform health-check for on premises IIS app behind firewall using Azure DevOps release pipeline

What do I have? I have already setup deployment of my ASP.NET Core app to my IIS. The IIS app itself is not visible from internet, because it is behind firewall. Question How can I ping my app from the server where it is running (so that it will…
0
votes
1 answer

Azure DevOps build pipelines fail when another build is already running

When using Azure DevOps I notice that occasionally my pull request builds will fail. After some tracking down I noticed that this is only happening when another build is already running. It seems that the reason is that the files in the output for…
CorruptComputer
  • 328
  • 3
  • 16
0
votes
1 answer

what permission PAT needs to access https://analytics.dev.azure.com/ExtensionTestVee/TestProjectNOBR/_odata/v2.0//WorkItemSnapshot? API

I used https://analytics.dev.azure.com/{orgname}/{ProjectName}/_odata/v2.0/WorkItemSnapshot REST API to fetch the active bug counts for past 60 days for the project in Azure devops. On using the custom scoped PAT to invoke the above API it threw…
VeenaKP
  • 3
  • 1
0
votes
1 answer

Display jest warning as a warning in the Azure DevOps pipeline build results page

We have an Azure DevOps pipeline which uses self hosted Windows agents with Azure DevOps server 2019. The pipeline runs our front-end tests. For this we use the following command line to run the tests: npm run jest -- --ci --reporters=default…
Andrew
  • 585
  • 1
  • 7
  • 17
0
votes
2 answers

Azure DevOps: How to stop check-ins which can break master branch?

Using branch policies I have enabled Build validation on pull requests. Now whenever I create a pull request, I can see a build getting triggered and based on the status of the build, I am allowed to complete/hold the pull request. All fine up-to…
ViBi
  • 515
  • 7
  • 19
0
votes
2 answers

Passing Multiple values as a Parameter in AzureDevops Release Pipelines

How to pass multiple values as a single parameter in AzureDevops Release Pipeline. Example I have a automation script that creates multiple storage accounts based on input. If the input is test1,test2,test3,test4,test5 it creates five storage…
charles
  • 11
  • 1
  • 3
0
votes
1 answer

Unable to print the variable right after set it in Azure devops pipeline

Please see the code below. It is unable to print the variable right after set.variable task! I had feelings and tried as well that NOTHING below the set.variable task will be executed at all. This is so annoying and How can I solve it? - bash: | …
SLN
  • 4,772
  • 2
  • 38
  • 79
0
votes
2 answers

Download and install selenium, webdriver and chromedriver in DevOps pipelines?

I am stuck in how to execute Selenium test by CI/CD pipeline. My selenium python-script is in a VM in Azure. I want to run it via CI/CD pipelines. This is what I did: Downloaded the Artifacts from a build (to get my selenium python-script): Then I…
0
votes
1 answer

Set build number for conda metadata inside Azure pipeline

I am using the bash script to build the conda pakage in azure pipeline conda build . --output-folder $(Build.ArtifactStagingDirectory) And here is the issue, Conda build uses the build number in the meta.yml file(see here). A solution of What I…
SLN
  • 4,772
  • 2
  • 38
  • 79
0
votes
1 answer

Can I have an Azure DevOps Pipeline set a variable based on a group of available options?

Essentially, I have, say, 10 Pipelines that all run at the same time on 3 available Agents. So only 3 run at a time, and the rest are queued. I need each pipeline to have a variable that I can use for the entire pipeline, but I need that variable to…
Maxperryg
  • 1
  • 1