I was thinking of using the svn:author property.

Is this feasible from the Hudson shell script?

for example,

svn propget svn:author [working copy path] --revprop -r$SVN_REVISIOIN


On Fri, Jun 25, 2010 at 12:45 AM, David Weintraub <qazw...@gmail.com> wrote:

> 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
> qazw...@gmail.com
>



-- 
Best wishes,
Kevin Wu

Reply via email to