add job pages
[arvados.git] / doc / user / api-JobScript.textile
1 ---
2 layout: default
3 navsection: userguide
4 title: "Reference: Job scripts"
5 navorder: 82
6 ---
7
8 h1. Reference: Job scripts
9
10 ...how to understand and write them.
11
12 h3. Job task execution environment
13
14 A task's context is established in environment variables.
15
16 table(table table-bordered table-condensed).
17 |Environment variable|Description|
18 |@JOB_UUID@|UUID of the job|
19 |@JOB_PARAMETER_X@|Value of the @x@ parameter supplied when the job was created|
20 |@TASK_UUID@|UUID of the task|
21 |@TASK_SEQUENCE@|Task execution sequence|
22 |@TASK_PARAMETER_X@|Value of the @x@ parameter supplied when the job task was created|
23 |@ARVADOS_API_TOKEN@|Authentication token to use with API calls made by the job task|
24