Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI - Missing Lint Artifacts (And CheckStyle) #964

Open
ParaskP7 opened this issue Mar 2, 2022 · 0 comments
Open

CI - Missing Lint Artifacts (And CheckStyle) #964

ParaskP7 opened this issue Mar 2, 2022 · 0 comments

Comments

@ParaskP7
Copy link
Contributor

ParaskP7 commented Mar 2, 2022

TL;DR

As part of Gradle 7.4 & AGP to 7.1.1 upgrade, I noticed that only the aztec module related Lint set of artifacts are being uploaded during a CI build (see ~/lint/lint-results-release.html/txt/xml). However, there are five more Lint related artifacts that need to be uploaded as well, for the wordpress-shortcodes, wordpress-comments, picasso-loader, glide-loader and app modules.

PS: The same actually applies to CheckStyle related artifacts.

Details

This is most probably due to the way the Save lint results and Uploading artifacts works, which copies any Lint related artifacts that match the .*/build/reports/.* regex, thus overriding previous set of artifacts. This script probably expects that a repo would only contain one set of Lint related artifacts. But, for this repo we are actually interested in four sets of Lint related artifacts, for the below modules:

  • app (App)
  • aztec (Library)
  • glide-loader (Library)
  • picasso-loader (Library)
  • wordpress-comments (Library)
  • wordpress-shortcodes (Library)

Thus, and since the aztec probably runs last, this set of Lint artifacts overrides any preceding sets of Lint artifacts, leaving only those to be then uploaded.

PS: The exact same applies to the CheckStyle artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant