Does anyone know of a way to access build changes during a build (i.e., the data that is displayed in the "Changes" drop down in the "Projects" tab for each build)? I have a couple of use cases for this:
1. Run Checkstyle on just the changes and fail the build if there are any violations. We began using Checkstyle a few years too late for our projects and cannot correct all of the style changes in one shot, but it would be nice to flag commits on individual files moving forward.
2. Obtain schema changes stored in JIRA for issues that require them so that we can bundle those as build artifacts
We use ant as the build runner. If anyone has solved these problems in other ways, I'd be interested in hearing about your solution(s).