android


Publish Android Lint results from Pipeline project


I am building an Android project with Jenkins (2.0 Beta) as a Pipeline.
From a Freestyle job I can archive the build results using a post build action Publish Android Lint Results.
My Pipeline script is:
node {
stage 'Checkout'
git branch: 'final', url: 'https://github.com/LordRaydenMK/android-testing/'
stage 'Build'
sh './gradlew clean assemble'
stage 'Android Lint'
sh './gradlew lint'
stage 'Lint Results'
//How to archive the results ?
stage 'Test'
sh './gradlew test'
stage 'JUnit tests'
step([$class: 'JUnitResultArchiver', testResults: 'app/build/test-results/*/TEST-*.xml'])
}
I am running lint and the results are saved in a file. I don't know how to publish the results so the Android Lint Plugin can pick them up.
JUnit results are archived fine.
After looking trough the source code I realized the published version (2.2) is not compatible with Pipeline.
Version 2.3 with pipeline compatibility is not released yet.
Update: Version 2.3 of the Android Lint Plugin was released. To archive the results you can use
step([$class: 'LintPublisher', pattern: 'app/build/outputs/lint-results*.xml'])

Related Links

Android browser and backface-visibility problems
How to scale a ImageButton in Android so that three buttons fit into row?
Action Done in an entry dialog
View clipped on rotation animation on Y axis when perpendicular to screen
using listView and listAdaptor, list not getting displayed correctly
Android WebView won't scroll
Android Web view swiping for Arabic version
Bitmap Shader with alpha channel. (Alpha is drawing black..?)
How we can get BootAnimation.zip Location in android with adb.exe?
Shortcuts for <activity-alias> disappear on Jelly Bean
Viewflow unable to set TextView Data into other layout
How to authenticate multiple accounts in Android dropbox sdk 1.5.1?
What Type of Hash is the Test Device ID of AdMob?
Move Image Taken With Camera Leaves Broken Link Unitl SD Card Remount
startService restart my service if currently running, the Android docs say the opposite
Localization for android EditText [duplicate]

Categories

HOME
codenvy
jelastic
knitr
yandex
cublas
onclick
python-multithreading
iis-6
google-cloud-datalab
nstableheaderview
pkcs#11
qpython
openpyxl
spring-social
plink
jmp
simpleitk
roundup
google-api-client
corpus
ms-access-web-app
android-things
magento-1.8
userdefaults
eviews
dst
vue-chartjs
hunspell
pdw-file-browser
processwire
imx6
sessionstorage
news
apache-stanbol
xv6
softmax
logback-groovy
apache-directory
textsum
twilio-click-to-call
stdmap
filehandle
cup
pdf-conversion
trigger.io
django-1.10
structuremap4
materialized-path-pattern
redistributable
myspace
iotivity
tooleap
dimension
simevents
swizzling
android-wake-lock
http-status-code-401
freepbx
lua-telegram-bot
angular-ui-typeahead
state-restoration
concurrentmodification
file-move
rate-limiting
binomial-theorem
cgi-bin
sapscript
evolus-pencil
iced-coffeescript
skspritenode
pyobjc
alloy-ui
git-ftp
ejb-2.x
at-job
pseudo-class
iso-prolog
cocos3d
appserver
entry-point
wcm
ignite-ui
functional-java
memset
dsym
amslidemenu
ecslidingviewcontroller
windows-embedded-standard
ora-06550
cocoalibspotify-2.0
http-status-code-410
robotlegs
xcode3.2
adobe-media-server
subproject
lambdaj
window-decoration
creole
quotation-marks
appledoc
commerceserver2007
uideviceorientation
vs-android
application-verifier
echo3
mathematical-notation
cuda.net
unmanagedresources
contentpresenter

Resources

Encrypt Message