Skip to content

[ci] Stop logging download progress in CI#3115

Merged
adangel merged 4 commits into
pmd:masterfrom
oowekyala:gh-actions-cleanup-log
Feb 19, 2021
Merged

[ci] Stop logging download progress in CI#3115
adangel merged 4 commits into
pmd:masterfrom
oowekyala:gh-actions-cleanup-log

Conversation

@oowekyala

@oowekyala oowekyala commented Feb 13, 2021

Copy link
Copy Markdown
Member

Describe the PR

Use the --no-transfer-progress Maven option in the CI scripts. We could also use batch mode (-B), but i'm not sure what else that changes

See also https://stackoverflow.com/questions/21638697/disable-maven-download-progress-indication

I hope, this removes the rows of download progress from the build log. In a normal terminal these lines overwrite each other so it's not so noisy.

Related issues

Ready?

I tried this out quickly in a docker but I'm not sure if there are other things it would break, or if I updated all the relevant places.

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by travis)
  • Added (in-code) documentation (if needed)

@oowekyala oowekyala added the github_actions Pull requests that update Github_actions code label Feb 13, 2021
@ghost

ghost commented Feb 13, 2021

Copy link
Copy Markdown
1 Message
📖 No java rules are changed!

Generated by 🚫 Danger

@oowekyala

Copy link
Copy Markdown
Member Author

The line count of logs is down to roughly 10K from roughly 80K

@oowekyala oowekyala changed the title [ci] Do not log download progress in CI [ci] Stop logging download progress in CI Feb 13, 2021
@oowekyala oowekyala marked this pull request as ready for review February 13, 2021 19:17
@adangel adangel added this to the 6.32.0 milestone Feb 19, 2021
@adangel adangel self-assigned this Feb 19, 2021
@adangel adangel merged commit 1d6195c into pmd:master Feb 19, 2021
@oowekyala oowekyala deleted the gh-actions-cleanup-log branch February 19, 2021 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ci] Cleanup github action logs

2 participants