From 66879a4fb0fc682d5f358c1782773180a4a95e2e Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Wed, 22 Jan 2025 22:11:08 +0100 Subject: [PATCH] ci(azure-pipelines): fix service build condition --- .azure-pipelines/templates/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/templates/service.yaml b/.azure-pipelines/templates/service.yaml index fdb5f9235..d756748c1 100644 --- a/.azure-pipelines/templates/service.yaml +++ b/.azure-pipelines/templates/service.yaml @@ -82,7 +82,7 @@ jobs: condition: | and( in(dependencies.ImageBuild_${{parameters.service.name}}.result, 'Succeeded', 'Skipped'), - reduce(parameters.service.dependsOn, true, and(#acc, eq(dependencies.#acc.result, 'Succeeded')), #result) + eq(reduce(parameters.service.dependsOn, true, and(#acc, eq(dependencies.#acc.result, 'Succeeded')), #result), true) ) container: # TODO: use BuildNumber instead of latest in update branches