Re: getting the scm location as an environment variable
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.