function_report_devlog 

Fuego wiki

Login or create account

function report devlog

NAME [edit section]

report_devlog

SYNOPSIS [edit section]

  • report_devlog <logstring>...

DESCRIPTION [edit section]

Add an entry to the devlog. This should be a string describing the operation being performed. By conventions, the line provided should be prefixed with the operation name and a colon, then the description or arguments used with the operation.

See Log files for more information about the devlog.

EXAMPLES [edit section]

Here are some sample invocations:
        report_devlog "put: $@"

        report_devlog "cmd: $@"

ENVIRONMENT and ARGUMENTS [edit section]

  • $@ are the strings to add to the log

The following variables are used:

  • FUEGO_LOGS_PATH
  • JOB_NAME
  • Device
  • BUILD_ID
  • BUILD_NUMBER

These are used to construct the output devlog name, which is: $FUEGO_LOGS_PATH/${JOB_NAME}/devlogs/$Device.$BUILD_ID.$BUILD_NUMBER.txt

RETURN [edit section]

Returns non-zero on error.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]

TBWiki engine 1.8.3 by Tim Bird