github.com/chenbh/concourse/v6@v6.4.2/testflight/fixtures/matrix.yml (about) 1 --- 2 resources: 3 - name: some-resource 4 type: mock 5 source: {initial_version: ((initial_version))} 6 7 jobs: 8 - name: fancy-build-matrix 9 plan: 10 - get: some-resource 11 - aggregate: 12 - task: passing-unit-1 13 config: 14 platform: linux 15 image_resource: 16 type: mock 17 source: {mirror_self: true} 18 run: 19 path: touch 20 args: [file] 21 outputs: 22 - name: passing-unit-1 23 path: . 24 - task: passing-unit-2 25 config: 26 platform: linux 27 image_resource: 28 type: mock 29 source: {mirror_self: true} 30 run: 31 path: touch 32 args: [file] 33 outputs: 34 - name: passing-unit-2 35 path: . 36 - task: print-version 37 config: 38 platform: linux 39 image_resource: 40 type: mock 41 source: {mirror_self: true} 42 inputs: 43 - name: passing-unit-1 44 - name: passing-unit-2 45 - name: some-resource 46 run: 47 path: sh 48 args: ["-c", "echo $(ls passing-unit-*/file) $(cat some-resource/version)"] 49 - aggregate: 50 - task: second-passing-unit-1 51 config: 52 platform: linux 53 image_resource: 54 type: mock 55 source: {mirror_self: true} 56 run: 57 path: sh 58 args: [-c, exit 0] 59 - task: second-failing-unit-2 60 config: 61 platform: linux 62 image_resource: 63 type: mock 64 source: {mirror_self: true} 65 run: 66 path: sh 67 args: [-c, exit 1] 68 on_failure: 69 task: print-version-failure 70 config: 71 platform: linux 72 image_resource: 73 type: mock 74 source: {mirror_self: true} 75 inputs: 76 - name: some-resource 77 run: 78 path: sh 79 args: ["-c", "echo failed aggregate $(cat some-resource/version)"]