Android-Lint Plugin



Download 13.23 Kb.
Date19.06.2017
Size13.23 Kb.
#21029

Android-Lint Plugin



Where to Download:


https://wiki.jenkins-ci.org/display/JENKINS/Android+Lint+Plugin

Description



Android Lint is a tool which scans your Android projects and reports on potential bugs, performance, security and translation issues, plus more.

This Jenkins plugin parses XML reports produced by running lint, analyses them and displays the results for each build.


Information shown includes a build summary, trend graphs, display of warnings in context, and dashboard portlets.

This plugin builds on the work of the static analysis core plugin; see the Static Code Analysis Plug-ins page for a fuller list of features.

Installation

Invoke as a Gradle task

:nbclient:lint

Ran lint on variant prodDebug: 4356 issues found

Ran lint on variant devDebug: 4357 issues found

Ran lint on variant uatRelease: 4357 issues found

Ran lint on variant prodRelease: 4356 issues found

Ran lint on variant devRelease: 4357 issues found

Ran lint on variant uatDebug: 4357 issues found

Wrote HTML report to file:/abe/jenkins/workspace/Android-Test-Lint/nbclient/build/outputs/lint-results.html

Wrote XML report to /abe/jenkins/workspace/Android-Test-Lint/nbclient/build/outputs/lint-results.xml
BUILD SUCCESSFUL
Total time: 5 mins 33.665 secs

Publish Post-Build Lint Results





https://myserver.nb.com:8443/jenkins/view/Swati/job/Android-Test-Lint/5/androidLintResult/







https://myserverdev206.nb.com:8443/jenkins/view/Swati/job/Android-Test-Lint/ws/nbactionbarpulltorefresh/build/outputs/lint-results.html

Command-Line



[abeadm@myserverdev207 Android-Test-Lint]$ gradle :nbactionbarpulltorefresh:lint

:nbactionbarpulltorefresh:preReleaseBuild

:nbactionbarpulltorefresh:checkReleaseManifest

:nbactionbarpulltorefresh:prepareReleaseDependencies

:nbactionbarpulltorefresh:compileReleaseAidl UP-TO-DATE

:nbactionbarpulltorefresh:compileReleaseRenderscript UP-TO-DATE

:nbactionbarpulltorefresh:generateReleaseBuildConfig UP-TO-DATE

:nbactionbarpulltorefresh:generateReleaseAssets UP-TO-DATE

:nbactionbarpulltorefresh:mergeReleaseAssets UP-TO-DATE

:nbactionbarpulltorefresh:generateReleaseResValues UP-TO-DATE

:nbactionbarpulltorefresh:generateReleaseResources UP-TO-DATE

:nbactionbarpulltorefresh:packageReleaseResources UP-TO-DATE

:nbactionbarpulltorefresh:processReleaseManifest UP-TO-DATE

:nbactionbarpulltorefresh:processReleaseResources UP-TO-DATE

:nbactionbarpulltorefresh:generateReleaseSources UP-TO-DATE

:nbactionbarpulltorefresh:compileReleaseJava UP-TO-DATE

:nbactionbarpulltorefresh:lint

Ran lint on variant release: 7 issues found

Ran lint on variant debug: 7 issues found

Wrote HTML report to file:/abe/jenkins/workspace/Android-Test-Lint/nbactionbarpulltorefresh/build/outputs/lint-results.html

Wrote XML report to /abe/jenkins/workspace/Android-Test-Lint/nbactionbarpulltorefresh/build/outputs/lint-results.xml

BUILD SUCCESSFUL

Total time: 22.886 secs

Download 13.23 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page