Okay, I think I've figured out the big questions.
First, I need to create a build step using "Execute system Groovy script" as the type. This will execute within the JVM running Jenkins and will have access to the Jenkins build information.
Next, I can gain access to the current build using the following:
build =Thread.currentThread().executable
Now, I can walk through the builds and access the change sets for each, as in the following:
def changes = "Changes:\n"
while ( build != null && build.result != 'SUCCESS' ) {
changes += "In ${build.id}:\n"
for ( changeLog in build.changeSets) {
for ( entry in changeLog.items ) {
change += "${entry.msg}\n"
}
}
}
I then found the Javadoc for the Jenkins API here:
http://javadoc.jenkins-ci.org/index.html?hudson and from there I was able to determine the members of each class, etc.
Thanks for your considerations.