Build comparison configuration


(David Resnick) #1

I used the new build comparison feature to compare my build output between gradle versions 1.2 and 1.3.

Much build output was compared and the feature is already helpful to validate no regression with the newer gradle version.

Some things like to be able to configure:

  1. Comparison of additional archive types. I create RPMs using the gradle-rpm plugin. While not all RPM content is visible when opening as a zip file, a comparison of the file system contents in the RPMs would be very helpful. Is there any way to have the comparison treat the RPMs as zip files? 2. Location of gradle distributions (to get them from the local network). 3. The tasks to run before comparing output (mentioned as configurable in http://forums.gradle.org/gradle/topics/new_in_1_2_build_comparison_gradle_upgrade_testing ).

— David


(Luke Daley) #2

Hi David,

Thanks for the feedback.

Is there any way to have the comparison treat the RPMs as zip files?

Not right now unfortunately. For a very coarse comparison, you could zip the RPM.

Location of gradle distributions (to get them from the local network).

This is on the list.

The tasks to run before comparing output

Does configuring this now not work for you?


(David Resnick) #3

The tasks to run before comparing output

Does configuring this now not work for you?

I hadn’t seen where this could be configured – for such a central element it seems a bit buried in the docs to me. I’ll try it now that I’ve found it.