I am fairly new to concourse. I am trying to trigger a job upon successful execution of previous 2 jobs. JOB-A and JOB-B run fine, but JOB-C doesn’t get triggered as time resource along with passed condition will never match. Any alternative ideas ?
- name: JOB-A
serial: true
plan:
- get: timestamp
trigger: true
- put: host-A
params:
interpreter: /bin/sh
script: |
uname -a
exit 0
attempts: 2
- put: timestamp
- name: JOB-B
serial: true
plan:
- get: timestamp
trigger: true
- put: host-B
params:
interpreter: /bin/sh
script: |
uname -a
exit 0
attempts: 2
- put: timestamp
- name: JOB-C
serial: true
plan:
- get: timestamp
trigger: true
passed: [ JOB-A,JOB-B ]
- put: host-C
params:
interpreter: /bin/sh
script: |
uname -a
exit 0
attempts: 2