Skip to content

Commit

Permalink
fix: add ENVs to doc (screwdriver-cd#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
d2lam authored Feb 26, 2019
1 parent f66c770 commit 9c0fd3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/user-guide/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ _Note: Environment variables set in one job cannot be accessed in another job. T
| SD_EVENT_ID | The ID of the [event](../about/appendix/domain#event) |
| SD_JOB_ID | The ID of the [job](../about/appendix/domain#job) |
| SD_JOB_NAME | Job name (e.g.: `main`) |
| SD_PARENT_BUILD_ID | Build(s) that trigger(s) this build |
| SD_PARENT_EVENT_ID | ID of the parent event if this was a restart |
| SD_PR_PARENT_JOB_ID | ID of the real job of PR. For example, in `PR-1:main` build, this ENV references the ID of `main` job |
| SD_PIPELINE_ID | The ID of the [pipeline](../about/appendix/domain#pipeline) |
| SD_PIPELINE_NAME | The name of the pipeline (e.g.: `d2lam/myPipeline`) |
| SD_PULL_REQUEST | Pull Request number (e.g.: `1`; blank if non-PR) |
Expand Down

0 comments on commit 9c0fd3e

Please sign in to comment.