Include file facility

Learn how a build hosts file can include contents of other build hosts files.

A build hosts file can include the contents of one or more other build hosts files:

#include pname

If the included file has -random or -idle directives, they apply to that file's entries. A -idle directive in a file is passed down to included files, until and unless it is overridden by another -idle directive. (A -idle directive in an included file does not affect the including file.)

Any line in the include file that begins with a number sign (#) (except an #include line) is treated as a comment.

Note: An HCL VersionVault evaluates environment variables in pname during builds.