[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to find who commits the build and revision number?

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 24 Jun 2010 12:45:40 -0400

I think I misunderstood your earlier question.

You want to display the user who committed the code on the webpage for
that particular build?

Hudson currently doesn't do that. However, Hudson must know the name
of the user who did the commit because Hudson will send that person an
email when they break the build.


I can think of a way around the issue. Hudson does retrieve the
SVN_REVISION environment variable. You can use this in your Ant script
to create a file via the <touch> task that contains the user name who
committed the change. This could be placed in a particular directory.
In Hudson job, you tell Hudson to archive any files in that directory.

The result is that the name of one of your archive files will contain
the name of the user who did the commit.

David Weintraub
Received on 2010-06-24 18:46:18 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.