Hudson environment variables in Maven 2 project

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

Hudson environment variables in Maven 2 project

Victor Glushenkov-2
Seems that I can't use any of varibales defined by Hudson (such as
WORKSPACE) in configaration of Maven2 project.
It could be useful in goals section. For example, how I could specify
alternate settings file for Maven?
Is there any work around for that?

--
Pharma-Net, Cubus Team

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

Reply | Threaded
Open this post in threaded view
|

Re: Hudson environment variables in Maven 2 project

Kohsuke Kawaguchi
Administrator
Victor Glushenkov wrote:
> Seems that I can't use any of varibales defined by Hudson (such as
> WORKSPACE) in configaration of Maven2 project.

I'm not sure if I follow. You mean, you can't reference environment
variables from within your POM?

> It could be useful in goals section. For example, how I could specify
> alternate settings file for Maven?

I think there's an RFE filed for this. Please bump up the votes if this
is important for you.

> Is there any work around for that?

The usual work around is to fall back to the free-style project.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment