On 27/04/2012, at 2:33 AM, Eitan Suez wrote: > hello all, > > i love how gradle's output is streamlined and clean. specifically > how the last line of the output dynamically updates with the current > state of the build, like so: > >> Building > :test > nn tests completed, n failures > > this line gives me quick feedback in terms of how far along i am. > > in jenkins, i noticed that, when i look at the console output, that > last line is missing. as a consequence i really have no clue (in > jenkins) how far along the build is until it's done. > > has anyone noticed this or looked into how to make the jenkins > output include the last line?
Gradle can't generate the dynamic output because it is not running in an ANSI control character aware console when being run from Jenkins, and Gradle can only output static text in this situation. Jenkins would either need to run Gradle in such a console. Or better yet, run Gradle via the tooling API, which would allow Jenkins to receive much richer progress information, and to present it in a bunch of interesting ways. -- Adam Murdoch Gradle Co-founder http://www.gradle.org VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
