tree: 9cbba999a967d71062c10d6b73df0ab5149a493b [path history] [tgz]
  1. 00-deps.sh
  2. 01-ndn-cxx.sh
  3. 02-chronosync.sh
  4. 10-build.sh
  5. 20-tests.sh
  6. 30-coverage.sh
  7. README.md
  8. util.sh
.jenkins.d/README.md

CONTINUOUS INTEGRATION SCRIPTS

Environment Variables Used in Build Scripts

  • NODE_LABELS: the variable defines a list of OS properties. The set values are used by the build scripts to select proper behavior for different OS.

    The list should include at least [OS_TYPE], [DISTRO_TYPE], and [DISTRO_VERSION].

    Possible values for Linux:

    • [OS_TYPE]: Linux
    • [DISTRO_TYPE]: Ubuntu
    • [DISTRO_VERSION]: Ubuntu-16.04, Ubuntu-18.04

    Possible values for OS X / macOS:

    • [OS_TYPE]: OSX
    • [DISTRO_TYPE]: OSX (can be absent)
    • [DISTRO_VERSION]: OSX-10.11, OSX-10.12, OSX-10.13
  • JOB_NAME: optional variable to define type of the job. Depending on the defined job type, the build scripts can perform different tasks.

    Possible values:

    • empty: default build process
    • code-coverage (Linux OS is assumed): debug build with tests and code coverage analysis
    • limited-build: only a single debug build with tests
  • CACHE_DIR: the variable defines a path to folder containing cached files from previous builds, e.g., a compiled version of ndn-cxx library. If not set, /tmp is used.

  • WAF_JOBS: number of parallel build jobs used by waf, defaults to 1.