diff --git a/.azure-pipelines/templates/service.yaml b/.azure-pipelines/templates/service.yaml index e41ddf38d..23c60a257 100644 --- a/.azure-pipelines/templates/service.yaml +++ b/.azure-pipelines/templates/service.yaml @@ -76,7 +76,7 @@ jobs: displayName: Build ${{parameters.service.name}} dependsOn: - ImageBuild_${{parameters.service.name}} - condition: or(succeeded(), canceled()) + condition: in(dependencies.ImageBuild_${{parameters.service.name}}.result, 'Succeeded', 'Canceled') container: # TODO: use BuildNumber instead of latest in update branches # image: devfra.azurecr.io/de.fraport.fradrive.build/frontend:$(Build.BuildNumber)