- # If we are running under Jenkins we predetermine what tests we will run against
- # This BOOTSTRAP_TARGET can be overridden by parse_command_line_options based BOOTSTRAP_TARGET changes.
- # We don't want Jenkins overriding other variables, so we NULL them.
- if [ -z "$BOOTSTRAP_TARGET" ]; then
- if $jenkins_build_environment; then
- if [[ -n "$JENKINS_TARGET" ]]; then
- check_make_target $JENKINS_TARGET
- if [ $? -eq 0 ]; then
- BOOTSTRAP_TARGET="$JENKINS_TARGET"
- else
- die "label not found: $label"
- fi
- else
- BOOTSTRAP_TARGET='jenkins'
- fi
- fi
- fi
-