From 5940050ccbf49dfd27fa94e4e6cb4bc067a4d0b1 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 11 Nov 2015 16:25:32 -0800 Subject: [PATCH] add build number to docs [CI SKIP] --- docs/build/env.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/build/env.md b/docs/build/env.md index 1328dccb4..41ba5896f 100644 --- a/docs/build/env.md +++ b/docs/build/env.md @@ -31,6 +31,7 @@ Drone also injects `CI_` prefixed variables for compatibility with other systems A subset of variables may be substituted directly into the Yaml at runtime using the `$$` notation: +* `$$BUILD_NUMBER` build number for the current build * `$$COMMIT` git sha for the current build, long format * `$$BRANCH` git branch for the current build * `$$REPO` repository full name (in `owner/name` format)