Skip to content

Commit 66638da

Browse files
authored
Merge branch 'master' into michal-at-travisci-trusty-xenial
2 parents 047798b + 2770fd5 commit 66638da

File tree

4 files changed

+375
-66
lines changed

4 files changed

+375
-66
lines changed

user/environment-variables.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ to tag the build, or to run post-build deployments.
231231
- `TRAVIS_TEST_RESULT`: **0** if all commands in the `script` section (up to the point this environment variable is referenced) have exited with zero; **1** otherwise.
232232
- `TRAVIS_TAG`: If the current build is for a git tag, this variable is set to the tag's name, otherwise it is empty (`""`).
233233
- `TRAVIS_BUILD_STAGE_NAME`: The [build stage](/user/build-stages/). If a build does not use build stages, this variable is empty (`""`).
234+
- `TRAVIS_JOB_RESTARTED`:
235+
+ set to `true` if the build is restarted.
236+
+ set to `false` if the build has not been restarted.
237+
- `TRAVIS_JOB_RESTARTED_BY`: The login of the user triggering the restart.
234238

235239
Language-specific builds expose additional environment variables representing
236240
the current version being used to run the build. Whether or not they're set

0 commit comments

Comments
 (0)