Document: Runner environment variables are not passed to downstream pipeline
Problem to solve
Our documentation for trigger:forward
suggests that variables can be passed to downstream pipeline. However there are a few limitations:
- Manual pipeline variables and scheduled pipeline variables are not passed to downstream pipelines by default. Use trigger:forward to forward these variables to downstream pipelines.
- Job-level persisted variables are not available in trigger jobs.
Another limitation we uncovered are for environment variables configured at the runner level using environment
parameter in config.toml
. Trigger jobs do not run in/via runners which means they won't have access to the runner environment variable.
Further details
See this project for example configuration.
Proposal
Add this limitation to our documentation.