--- a/REFERENCE.md Sun Jan 07 03:46:40 2018 -0600
+++ b/REFERENCE.md Sun Jan 07 03:46:56 2018 -0600
@@ -507,6 +507,56 @@
+Since there are multiple places where environment variables can be set, they must all be merged together before being passed to a task. +Environment variables can be set at the `global-base`, `global`, `global-override`, `plan`, `stage`, `task`, and command line levels. The are merged in that order, with the last one taking precedence over the previous. +In the following example, when the `env1` task is run, the `FOO` environment variable will be set to `baz`, but when the `env2` task is run, the `FOO` environment variable will be set to bar +In the next example, the stage is overriding the global value. So `env1` still has a value of `baz` for the environment variable `FOO`, while `env2` has a value of `qux`. @@ -567,6 +617,14 @@
There is currently no support for nesting meta plans.
+Meta plans contain a single attribute which is the list of `plans` to run. +| Name | Required | Description | +| ----------- | -------- | ----------- | +| plans | Yes | A list of `plans` to run in the order they should be run in. | @@ -575,15 +633,3 @@
-----
-Meta plans contain a single attribute which is the list of `plans` to run.
-| Name | Required | Description |
-| ----------- | -------- | ----------- |
-| plans | Yes | A list of `plans` to run in the order they should be run in. |