Getting changes from snapshot dependencies with Notifier plugin

Hello,

We have a notifier plugin that we use to inform people about failed builds.  Part of this plugin involves determining which users' changes affected the failed build.  In general this is done by calling SBuild.getChanges() whenever a failed build is notified about, which works fine for the most part.

The problem is that some of our builds are triggered when changes affect snapshot dependencies only (the changes affect the dependent build through Artifact dependencies), and while the Web UI correctly marks the dependant build as affected by the changes, getChanges doesn't pick this up.  This means that there are some cases in which we are unable to determine whose changes affected the build, so our notifier doesn't work properly.

Does anyone know how we can pick up changes that come from Snapshot Dependencies?  Should they be returned from getChanges()?


Thanks
Nick

Please sign in to leave a comment.