From 0f11b2d2bb7ca8d00accbb5f727db0d19c932539 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Tue, 11 Oct 2016 11:22:09 -0700 Subject: [PATCH] Add NOMAD_JOB_NAME docs --- CHANGELOG.md | 1 + website/source/docs/jobspec/environment.html.md | 13 +++++++++---- website/source/docs/jobspec/interpreted.html.md | 4 ++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72b40f3d7..1d783cd31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ IMPROVEMENTS: * client: Enforce shared allocation directory disk usage [GH-1580] * client: Introduce a `secrets/` directory to tasks where sensitive data can be written [GH-1681] + * driver: Export `NOMAD_JOB_NAME` environment variable [GH-1804] * driver/docker: Support Docker volumes [GH-1767] * driver/docker: Allow Docker logging to be configured [GH-1767] diff --git a/website/source/docs/jobspec/environment.html.md b/website/source/docs/jobspec/environment.html.md index 3b264d1df..537763e4c 100644 --- a/website/source/docs/jobspec/environment.html.md +++ b/website/source/docs/jobspec/environment.html.md @@ -52,6 +52,10 @@ environment variables. `NOMAD_TASK_NAME` The task's name + + `NOMAD_JOB_NAME` + The job's name + `NOMAD_IP_