Hi there,

On 08/09/2012 05:05 PM, Michael Hüttermann wrote:
with Subversion, how can I get the SCM changes that triggered that Jenkins
build (the change log, or part of it) and assign that to an environment
variable for further usage, if not already present in an env variable
somehow?

The question with slightly another direction: where in a build job could I
best place a
http://mymachine/job/buildjob/buildnumber/api/xml?xpath=//changeSet/item/msg&wrapper=messages
to get all SVN commit messages and assign the result to a Jenkins
environment variable?

That's remarkably similar to this Stack Overflow question that was just asked and answered:
http://stackoverflow.com/a/11837662/234938

You could just use a regular "Execute shell" build step to pull the info from that API URL.

Regards,
Chris

Reply via email to