HomePhabricator

[CI] Filter what is printed to the console and log it to files

Description

[CI] Filter what is printed to the console and log it to files

Summary:
This diffs cleans up the console output from the shell trace, making it
easier to read the teamcity build log (the shell traces are printed to stderr,
generating warnings). It also generates a couple log files which are always
added to the artifacts:

  • A clean log which has the same content as the console output for thebuild
  • A full log that includes the traces removed from the console output.

Depends on D6735.

Test Plan:
Run any CI build plan.
Check the build log is free from the shell traces and that the artifact
archives contains the 2 build log variants at its root.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6748

Details

Provenance
FabienAuthored on Jun 26 2020, 12:41
FabienPushed on Jun 26 2020, 19:58
Reviewer
Restricted Project
Differential Revision
D6748: [CI] Filter what is printed to the console and log it to files
Parents
rABCe23422471d46: [CI] Manage the build artifacts from the configuration
Branches
Unknown
Tags
Unknown