Alexander Afanasyev | b81cff9 | 2015-07-09 09:45:09 +0800 | [diff] [blame] | 1 | CONTINUOUS INTEGRATION SCRIPTS |
| 2 | ============================== |
| 3 | |
| 4 | Environment Variables Used in Build Scripts |
| 5 | ------------------------------------------- |
| 6 | |
| 7 | - `NODE_LABELS`: the variable defines a list of OS properties. The set values are used by the |
| 8 | build scripts to select proper behavior for different OS. |
| 9 | |
| 10 | The list should include at least `[OS_TYPE]`, `[DISTRO_TYPE]`, and `[DISTRO_VERSION]`. |
| 11 | |
| 12 | Possible values for Linux OS: |
| 13 | |
| 14 | * `[OS_TYPE]`: `Linux` |
| 15 | * `[DISTRO_TYPE]`: `Ubuntu` |
| 16 | * `[DISTRO_VERSION]`: `Ubuntu-12.04`, `Ubuntu-14.04`, `Ubuntu-15.04` |
| 17 | |
| 18 | Possible values of OSX OS: |
| 19 | |
| 20 | * `[OS_TYPE]`: `OSX` |
| 21 | * `[DISTRO_TYPE]`: `OSX` (can be absent) |
| 22 | * `[DISTRO_VERSION]`: `OSX-10.10`, `OSX-10.9`, `OSX-10.8`, `OSX-10.7` |
| 23 | |
| 24 | - `JOB_NAME`: optional variable to define type of the job. Depending on the defined job type, |
| 25 | the build scripts can perform different tasks. |
| 26 | |
| 27 | Possible values: |
| 28 | |
| 29 | * empty: default build process |
| 30 | * `code-coverage` (Linux OS is assumed): build process with code coverage analysis |
Alexander Afanasyev | f22ebaf | 2015-12-17 21:23:05 -0800 | [diff] [blame^] | 31 | |
| 32 | - `CACHE_DIR`: the variable defines a path to folder containing cached files from previous builds, |
| 33 | e.g., a compiled version of ndn-cxx library. If not set, `/tmp` is used. |