diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-04-16 10:44:51 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-04-16 12:43:30 +0200 |
commit | aff8ee2242b6faf853337b6aca727f02e14e7995 (patch) | |
tree | 7d4945a32817f8501cefd79cca6257e6353fd6fc /share | |
parent | aa9ef3cc5e9bd13f12be55e829f9cc69f7cd578d (diff) | |
download | justbuild-aff8ee2242b6faf853337b6aca727f02e14e7995.tar.gz |
just profile: include exit code of actions
Extend the profile by including non-zero exit codes of individual
actions. When looking at an individual build invocation, the actions
with non-zero exit code are often the interesting ones, like root
cause of a build failure, or failing tests. Therefore, it is useful
information to include this information; by leaving out the exit
code if it is zero, we do not significantly increase the profile.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/just-profile.5.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/man/just-profile.5.md b/share/man/just-profile.5.md index 70895efe..c04712af 100644 --- a/share/man/just-profile.5.md +++ b/share/man/just-profile.5.md @@ -53,6 +53,8 @@ The profile file contains the following information. - For the key *`"time"`* for non-cached actions the build time in seconds. + - For the key *`"exit code"`* the exit code of the action, if not 0. + - For the key *`"artifacts"`* an object with keys the output paths and values the hashes of the corresponding artifacts as hex-encoded strings. |