Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Hudson中将环境变量与SVN签出一起使用?_Svn_Hudson_Environment Variables - Fatal编程技术网

在Hudson中将环境变量与SVN签出一起使用?

在Hudson中将环境变量与SVN签出一起使用?,svn,hudson,environment-variables,Svn,Hudson,Environment Variables,我们在Windows上运行Hudson 1.368和SVN 1.17。我的目标是设置一个环境变量(在managehudson下),我可以在我的SVN checkout目录中使用它。我试过这个: http://svn/repos/name/${EnvironmentVariable} 但是我收到了以下错误 Location 'http://svn/repos/name/${EnvironmentVariable}' does not exist 也就是说,变量没有展开 诀窍是什么?我记得我不得

我们在Windows上运行Hudson 1.368和SVN 1.17。我的目标是设置一个环境变量(在managehudson下),我可以在我的SVN checkout目录中使用它。我试过这个:

http://svn/repos/name/${EnvironmentVariable}
但是我收到了以下错误

Location 'http://svn/repos/name/${EnvironmentVariable}' does not exist
也就是说,变量没有展开


诀窍是什么?

我记得我不得不用这个。您可能想检查一下。

您是否尝试过不使用大括号(即$EnvironmentVariable)?你有没有试过用%来包围变量名?这可能行得通,但我不记得在我的工作中使用环境变量时不需要插件。