Commit eabcf8f
authored
ci(bom): print full mvn-install.log on pre-install failure (#13891)
## Description
Updates `java-cloud-bom/tests/pre-install.sh` to print the complete
`mvn-install.log` on failure instead of truncating output with `tail -n
200`.
## Rationale
When a module fails compilation during `pre-install.sh`, Maven skips
installing its JAR into local cache (`~/.m2/repository`). Downstream
modules subsequently fail dependency resolution when attempting to fetch
missing in-repo SNAPSHOT artifacts from Maven Central.
Because `pre-install.sh` previously ran `tail -n 200`, only the trailing
downstream dependency resolution errors were printed in CI, concealing
the actual root-cause compilation errors that occurred earlier in the
log.1 parent af18f65 commit eabcf8f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
0 commit comments