getting the scm location as an environment variable

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

getting the scm location as an environment variable

Michael Wiles
Is it possible to get the repo location as an environment variable?

It's quite useful, especially in an scm system like svn which would mean it would indicate the "branch/tag".

Probably be a little useful on cvs as well.

--
see my blog:
http://analysis102.blogspot.com
http://audiblethoughts.blogspot.com
http://outsideofficehours.blogspot.com
Reply | Threaded
Open this post in threaded view
|

Re: getting the scm location as an environment variable

Kohsuke Kawaguchi
Administrator
I guess you mean environment variable of Hudson, because SCM would be
the first to run, and no one else has set up anything.

I'm not quite following why this is useful. Is it that you have
multiple projects that want to use the same branch, and you'd like to
switch them easily? Because for you to change the environment
variable, you'd need to restart Hudson.

2007/7/26, Michael Wiles <[hidden email]>:

> Is it possible to get the repo location as an environment variable?
>
> It's quite useful, especially in an scm system like svn which would mean it
> would indicate the "branch/tag".
>
> Probably be a little useful on cvs as well.
>
> --
> see my blog:
> http://analysis102.blogspot.com
> http://audiblethoughts.blogspot.com
>  http://outsideofficehours.blogspot.com


--
Kohsuke Kawaguchi

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