Questions tagged [azure-devops-pipelines]

269 questions
1
vote
1 answer

Azure script task when failOnStderr: true , bash error arise which wasn't without this flag

i have wired behavior when the failOnStderr: true is not set in the task everything working fine BUT when i invoke the script task like this with failOnStderr: true: - script: | echo 'Start invoking Fastfile' fastlane release --verbose…
user63898
  • 29,839
  • 85
  • 272
  • 514
1
vote
0 answers

I am facing issue with accessing imap.gmail.com in azure pipeline

In selenium for my automation script I have to retrieve MFA code from my external test user(something@gmail.com). I am using talking to the IMAP gmail incoming server with this code using (ImapClient client = new ImapClient(GmailHostName, 993,…
1
vote
1 answer

Azure pipeline How to use bigger server for hosted agent builds?

I don't understand but how do I set in the hosted azure pipeline build server to be a bigger machine with more ram and more CPU's? i want to avoid installing a self-hosted agent on one of the Azure VM's I just want to use more stronger hosted agent,…
user63898
  • 29,839
  • 85
  • 272
  • 514
1
vote
3 answers

Azure Devops pipeline , way to know when pipeline is done , using self hosted agent

I have an Azure Pipeline which I invoke it using azure rest API https://dev.azure.com/xxx/xxx_connection/_apis/pipelines/2/runs All working great, I'm sending the source files from install Self Hosted Linux Agent to azure and getting them back…
user63898
  • 29,839
  • 85
  • 272
  • 514
1
vote
2 answers

Azure pipeline : DownloadBuildArtifacts@0 task itemPattern , can't download 2 files with different file suffixs and name paternes

im using DownloadBuildArtifacts@0 and i like to download all the *.ipa files and also the manifest.plist file . when writing : itemPattern: '**/*.ipa it downloading me the ipa file but when i do : - job: copy_back_files_to_self_hosted_connect …
user63898
  • 29,839
  • 85
  • 272
  • 514
1
vote
1 answer

How to have both xUnit and NUnit in a solution built in Azure DevOps Pipelines?

I have a C# solution where there are several unit test projects that use xUnit and an "end to end" tests project that uses NUnit. (This is intentional and fine so I'd appreciate not trying to convince me to ditch one for the other, thanks) I use an…
urig
  • 16,016
  • 26
  • 115
  • 184
1
vote
0 answers

Fastlane in Azure :Getting : security: SecKeychainItemImport: The specified keychain could not be found , reports finished successfully

i trying to use Fastlane in the Azure DevOps pipeline only for build the iOS app, i try to import the certificate files i have but it keeps giving me the error that removed all sensitive data to "xxxx" Getting : security: SecKeychainItemImport: The…
user63898
  • 29,839
  • 85
  • 272
  • 514
1
vote
1 answer

How can I use variables passed between jobs in a condition?

I am building a YAML pipeline in Azure DevOps. I'm generating couple of variables in first job, which I'm passing to other job and want to use them to conditionally run some steps. Here's how the code looks like: stages: - stage:…
1
vote
1 answer

Looping over multiple parameters in Azure Pipeline task

I am trying to create an Azure Pipeline. But I am having a problem looping an Azure task in it. I have explained below through a simplified example the problem I am facing. I hope to create multiple Azure web apps through this pipeline. Each webapp…
Nilushan Costa
  • 286
  • 2
  • 6
  • 24
1
vote
1 answer

How do you downlod artifacts from a different project within the same organization in Azure Devops?

I have an azure devops yaml pipeline in project A trying to download an artifact in project B within the same organization. It uses the DownloadBuildArtifacts@0 task as configured below: - task: DownloadBuildArtifacts@0 inputs: buildType:…
user2503480
  • 193
  • 3
  • 16
1
vote
2 answers

Default permissions come back on AzDevOps queues

On premises AzDevOps Server 2019, version Dev17.M153.5. I have restricted default access rights to agent queues on every single project in every single collection - removed the default set (Release Admins/Build Admins/Project Admins), added some…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
0
votes
1 answer

Azure ML custom image tag and registry

Is there a way we can customize the image tags and names produced by Azure ML? Also, is it possible to push the images to private registry rather than container registry (the default one in azure ML)? Or if we can download image from container…
0
votes
2 answers

Setting OS variable in Azure DevOps pipeline doesn't work

In YAML pipeline I'm attempting to set OS variable on Linux Agent so Cypress can look it up: - script: export CYPRESS_key=ala displayName: "Set key" - script: echo $(CYPRESS_key) displayName: "Print key" unfortunately the OS variable…
Yoda
  • 17,363
  • 67
  • 204
  • 344
0
votes
2 answers

Create job dependency dynamically between jobs

I'm trying to figure how to dynamically create a dependency and run the job based on the condition. Here is the structure of my pipeline: main.yaml: stages: - stage: build jobs: - template: build.yaml - stage: deployDev dependsOn: build …
Ia1
  • 500
  • 1
  • 7
  • 15
0
votes
1 answer

How to trigger one pipeline stage from another pipeline in Azure DevOps?

In azure DevOps YML pipelines, is it possible to trigger a pipeline A stage1 from pipeline B stageY ?