-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a dedicated page to environment variables to make it easier fo…
…r folks to find them
- Loading branch information
1 parent
0843c1d
commit 7b0123b
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Environment Variables | ||
|
||
In addition to [Jenkins build | ||
variables](https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables), | ||
DotCi provides the following global variables: | ||
|
||
* `DOTCI_BRANCH` - current branch | ||
* `DOTCI` - always true | ||
* `CI` - always true | ||
* `DOTCI_SHA` - current sha being built | ||
* `GIT_URL` - git url | ||
* `DOTCI_PUSHER` - github username whose git push triggred this build | ||
* `DOTCI_PULL_REQUEST` - pull request number being built | ||
* `DOTCI_PULL_REQUEST_SOURCE_BRANCH` - the pull request branch | ||
* `DOTCI_PULL_REQUEST_TARGET_BRANCH` - the branch the pull request is targeting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters