Although I know of an undocumented way to pick one artifact from a previous matrixed job (
dependencies: ["matrixed_job_name: [varName]"] CI: Specifying artifact dependencies when using `parallel: matrix:`), is there a way to make the subsequent job matrixed in a way it starts a job for each artifact from the previous job ? Each such job should pick one artifact from the previous job.
stages: - build - deploy build: stage: build script: - bash -c $BUILD_TARGET.sh parallel: matrix: - BUILD_TARGET: ['linux', 'windows', 'mac'] artifacts: expire_in: 1hrs when: always paths: - ./builds deploy: stage: deploy script: - deploy.sh ./builds/$BUILD_TARGET parallel: matrix: dependencies: build
If not it means I either have to put everything in one job or write a deploy job for each build, neither seem too clean.