Le 11/05/2015 20:34, Bernd Sitzmann a écrit :
> I would like it if you could set up a Jenkins job for Android according
> to https://phabricator.wikimedia.org/T88494. No Gradle or Android SDK
> setup is needed!
<snip>

Thank you a ton Bernd to make it so trivial to build the app!

Following our discussion yesterday and this morning, I have removed the
maven Jenkins job and replaced it with a couple gradle ones


From the task:

-------8<--------------8<--------------8<--------------8<-------
apps-android-wikipedia-gradlew

./gradlew -q clean checkstyle assembleAlphaDebug
Wich craft a checkstyle report.

apps-android-wikipedia-gradlew-lint

./gradlew -q clean lintAlphaDebug
That fails for now and is made non voting. Once it is passing we can
move the lint goal to the other job. The lint job captures artifacts
under /build/outputs/ , there is apparently a Jenkins plugin to
interpret them (
https://wiki.jenkins-ci.org/display/JENKINS/Android+Lint+Plugin ) but
the site is down for now and there is no JJB support for it. So that
would be for later.

I have send a dummy change https://gerrit.wikimedia.org/r/210289 which
yields:

jshint         SUCCESS in 1s
tox-flake8     SUCCESS in 6s
apps-android-wikipedia-gradlew       SUCCESS in 2m 40s
apps-android-wikipedia-gradlew-lint  FAILURE in 3m 03s (non-voting)
-------8<--------------8<--------------8<--------------8<-------


Can be polished up later :)


-- 
Antoine "hashar" Musso


_______________________________________________
Mobile-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mobile-l

Reply via email to