From 311ba5234d2a5566b59c1ddd078916c91ed4adc0 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Wed, 29 Jan 2025 12:15:55 +0100 Subject: [PATCH] ci(azure-pipelines): add condition param to artifacts --- .azure-pipelines/templates/service.yaml | 1 + azure-pipelines.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.azure-pipelines/templates/service.yaml b/.azure-pipelines/templates/service.yaml index f90dcc222..17fa6bc63 100755 --- a/.azure-pipelines/templates/service.yaml +++ b/.azure-pipelines/templates/service.yaml @@ -116,6 +116,7 @@ stages: - task: DownloadPipelineArtifact@2 displayName: Download artifacts from ${{ dependency.name }} dependency continueOnError: ${{ dependency.continueOnError }} + condition: ${{ dependency.condition }} inputs: artifactName: ${{ dependency.artifact }} source: ${{ dependency.source }} diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 0b8e0b93b..4f26b7ade 100755 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -45,6 +45,7 @@ parameters: artifact: backend patterns: '.stack/**/*' continueOnError: true + condition: eq(variables.releaseTest, false) artifacts: | bin/uniworx bin/uniworxdb