Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [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 | |
Davide Pesavento | 0530b5b | 2016-11-07 03:23:58 +0100 | [diff] [blame^] | 12 | Possible values for Linux: |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 13 | |
| 14 | * `[OS_TYPE]`: `Linux` |
| 15 | * `[DISTRO_TYPE]`: `Ubuntu` |
Davide Pesavento | e11c8d8 | 2016-04-16 14:32:07 +0200 | [diff] [blame] | 16 | * `[DISTRO_VERSION]`: `Ubuntu-14.04`, `Ubuntu-16.04` |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 17 | |
Davide Pesavento | 0530b5b | 2016-11-07 03:23:58 +0100 | [diff] [blame^] | 18 | Possible values for OS X / macOS: |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 19 | |
| 20 | * `[OS_TYPE]`: `OSX` |
| 21 | * `[DISTRO_TYPE]`: `OSX` (can be absent) |
Davide Pesavento | 0530b5b | 2016-11-07 03:23:58 +0100 | [diff] [blame^] | 22 | * `[DISTRO_VERSION]`: `OSX-10.10`, `OSX-10.11`, `OSX-10.12` |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 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 |
Davide Pesavento | 0530b5b | 2016-11-07 03:23:58 +0100 | [diff] [blame^] | 30 | * `code-coverage` (Linux OS is assumed): debug build with tests and code coverage analysis |
| 31 | * `limited-build`: only a single debug build with tests |