concourse / docs

concourse documentation and website

Home Page:https://concourse-ci.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vague chaining jobs example

jpds opened this issue · comments

The "Chaining jobs" example here:

\codeblock{yaml}{{{
---
resources:
- name: booklit
type: git
source:
uri: https://github.com/vito/booklit
branch: master
jobs:
- name: unit
plan:
- get: booklit
trigger: true
- task: unit
file: booklit/ci/test.yml
- name: build
plan:
- get: booklit
passed: [unit]
trigger: true
- task: unit
file: booklit/ci/build.yml
}}}
}

...is slightly vague in that it references a unit 4 different times. It isn't immediately clear what the unit in the build passed: stage refers to - it ultimately refers to the job name but it would be easier if these had different names for clarity.

makes sense, i'll update it!