Hi there,
If I understood you correctly, when you run Gradle locally the lint target
doesn't report any errors; but when you run it on a remote server, the
build fails with an error -- and you're unable to grab those build error
reports to see what the problem is?
You could use lintOptions { textReport true } to have it also emit its
errors to the standard output such that the build log will reveal what the
problem is.(I tried checking out the project now, and it built and ran without lint errors; looks like you've updated to 1.5.0 etc so I don't know if your problem was fixed by a later Gradle plugin or if it's still something that works locally and is broken under Docker.) -- Tor On Mon, Oct 12, 2015 at 3:09 PM Artem Zinnatullin < [email protected]> wrote: > Hello, ADT team. > > Our project StorIO does not want to be built on the CI (Travis CI) with > Linux under the Docker. > > > Since you're deprecating beta plugins and failing builds with "old" beta > versions of the plugin, we decided to switch to 1.4.0-beta6. > Locally on Mac OS and Linux (Ubuntu) we can build our project without > problems (sh ci.sh), but on the CI Lint throws warning that we're unable to > see (we can not grab xml with Lint results from Travis CI) and reproduce. > > Can you please take a look and comment? > > Here is the project: https://github.com/pushtorefresh/storio and PR with > failing builds https://github.com/pushtorefresh/storio/pull/538, one of > the failed builds log > https://travis-ci.org/pushtorefresh/storio/builds/84995878. > > // We are treating Lint warnings as errors to immediately react on them, > so this is almost blocker for us. Current stable version of Android Gradle > Plugin — 1.3.1 is too not a good choice for us because Lint on this version > has another problem which you've fixed in 1.4.0-beta1 :) > > Btw, why do you prevent builds on "old" beta versions of the plugin? It > breaks CI and build reproducibility in many projects. If it would be > snapshot I'd understand this, but it's *Released* beta version of an > artifact that builds the code! It should work and give same result on each > build, even with bugs. > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
