Passing Email address in parametrized build

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Passing Email address in parametrized build

hmaclaren

Is there any way to use a build parameter to send an additional email address to the editable email notification?

Either that or a way to tell svn which revision to update to.

 

We want to build each svn commit separately, so I’m passing in the revision and the author as build parameters and doing an update by script, but the Email notifier is not resolving the parameter.

 

Heather Maclaren

 

Reply | Threaded
Open this post in threaded view
|

Re: Passing Email address in parametrized build

Qazwart-2
There is a Extended Email plugin
<http://wiki.hudson-ci.org//display/HUDSON/Email-ext+plugin> that is
able to use various parameters. I looked at the source code, and it
seems to use $SVN_REVISION as the Subversion revision token. The use
isn't documented, but it is in the source.
<https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/email-ext/src/main/java/hudson/plugins/emailext/plugins/content/SVNRevisionContent.java>.

I haven't used this plugin, so I can't say whether it will work or not.

On Tue, Jun 30, 2009 at 12:30 PM, Heather
Maclaren<[hidden email]> wrote:

> Is there any way to use a build parameter to send an additional email
> address to the editable email notification?
>
> Either that or a way to tell svn which revision to update to.
>
>
>
> We want to build each svn commit separately, so I’m passing in the revision
> and the author as build parameters and doing an update by script, but the
> Email notifier is not resolving the parameter.
>
>
>
> Heather Maclaren
>
>



--
David Weintraub
[hidden email]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]