A simple example of a build pipeline where the first job creates several output, persists some of them to a workspace and a second job uses that output from the previous job by attaching to the wrokspace. Somithing like this:
job "build" - produces -> build/output.other - forget about -> x
build/output.txt - persist -> workspace
^ ^
use |
| |
job "use-output" ----------- attach
See CircleCI for result: https://circleci.com/gh/NemoOudeis/circleci_workspace_test
Reference: