ci(azure-pipelines): add more params to dependencies

This commit is contained in:
Sarah Vaupel 2025-01-27 17:20:36 +01:00
parent a2dbb1f5f3
commit 204d57cb96
2 changed files with 7 additions and 5 deletions

8
.azure-pipelines/templates/service.yaml Normal file → Executable file
View File

@ -109,12 +109,12 @@ stages:
IN_CI: true
steps:
- checkout: self
- ${{ each dep in parameters.serviceDependencies }}:
- ${{ each dependency in parameters.serviceDependencies }}:
- task: DownloadPipelineArtifact@2
displayName: Download artifacts from ${{ dep }} dependency
displayName: Download artifacts from ${{ dependency.name }} dependency
inputs:
artifact: ${{ dep }}
patterns: '**/*'
artifact: ${{ dependency.artifact }}
patterns: '${{ dependency.patterns }}'
path: '$(Build.Repository.LocalPath)'
- ${{ each buildStep in parameters.buildSteps }}:
- template: ./service/build-step.yaml

View File

@ -30,7 +30,9 @@ parameters:
pool: 'Prod Private Agent Pool DS3'
timeout: 1440
dependencies:
- frontend
- name: frontend
artifact: frontend
patterns: '**/*'
artifacts: |
bin/uniworx
bin/uniworxdb