function pre build
NAME [edit section]
pre_build
SYNOPSIS [edit section]
pre_build [nostrip]
DESCRIPTION [edit section]
Wait for other builds of the same test running in parallel,Process the Rebuild flag, and unpack test sources if necessary.
Build scripts must call this function in the beginning.
EXAMPLES [edit section]
ENVIRONMENT and ARGUMENTS [edit section]
This function uses:- $WORKSPACE
- $JOB_NAME
- $TRIPLET
Arguments:
- $1 is passed directly to unpack()
- (it can be 'nostrip' or empty)
RETURN [edit section]
Returns 0 if actual build needs to be performed; 1 - otherwise.
SOURCE [edit section]
Located in scripts/functions.sh
SEE ALSO [edit section]