Jenkins Lint Plugin doesn't pick results

I installed the Android Lint Plugin plugin in jenkins and activated it in my build of Android projects (which is built using maven). Then I added “execute shell” as a post build action using the command

os_opts="-Djava.awt.headless=true" lint --xml lint-results.xml .

as described. The lint-results.xml file is created in the root folder of the workspace and contains the results. But somehow the plugin does not pick up the results and does not display them anywhere.

I already tried to set up different file names and locations for the XML result file, but that didn't seem to help.

What could have gone wrong?

+3
source share
1 answer

, lint-results.xml lint gradle build, , " Android-" " "

+1

All Articles