【发布时间】:2016-03-23 20:02:17
【问题描述】:
我将 Jenkins 配置为 Inject environment variables to the build 进程并将 Properties File Path 设置为 G:\Jenkins\env.properties
在我的env.properties里面
VISUALSTUDIOVERSION=12.0PATH=$PATH
当我运行我的工作时,PATH 并没有反映我的系统路径,而是只显示$PATH。如何编辑我的env.properties 文件以获取系统路径?
构建后Env变量的输出为
VISUALSTUDIOVERSION=12.0PATH=$PATH
但我希望看到它
VISUALSTUDIOVERSION=12.0PATH=C:\Program Files (x86)\Perl\site\bin;C:\Program Files (x86)\Perl\bin;
【问题讨论】:
标签: jenkins hudson jenkins-plugins hudson-plugins