Skip to content

Commit 508b3ad

Browse files
committed
document BUILD_URL and BUILD_URL_SHORT
Signed-off-by: Taylor Silva <dev@taydev.net>
1 parent d878de1 commit 508b3ad

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/docs/resource-types/implementing.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,16 @@ made available to the [`get` step](../steps/get.md).
246246

247247
: The public URL for your ATC; useful for debugging.
248248

249+
`$BUILD_URL`
250+
251+
: The URL of the build using team, pipeline, instance vars, and job name in
252+
the URL. Same as what you would see in the web UI. Will be the same value as
253+
`$BUILD_URL_SHORT` if it's a one-off build.
254+
255+
`$BUILD_URL_SHORT`
256+
257+
: The short URL of the build in the form `$ATC_EXTERNAL_URL/builds/$BUILD_ID`
258+
249259
If the build is a one-off, `$BUILD_NAME`, `$BUILD_JOB_NAME`, `$BUILD_PIPELINE_NAME`, and `$BUILD_PIPELINE_INSTANCE_VARS`
250260
will not be set.
251261

0 commit comments

Comments
 (0)