I am creating a velocity template that needs to display the SCM changes for the current build, but also display the SCM changes since the previous successful build. I'm currently trying to do it by using:
#set($oldBuild = $build.getPreviousSuccessful())
#foreach ($change in $build.getChangesSince($oldBuild))
but there is nothing there. Could you please tell me what I am doing wrong? There are no errors in the logs.
And if this way is not possible, do you know of a way that is possible to do this? Thank you!