EnvInject插件加载环境变量

时间:2016-03-21 19:08:23

标签: jenkins environment-variables hudson jenkins-plugins hudson-plugins

我正在尝试使用EnvInject插件加载env变量而无法执行此操作

enter image description here

2 个答案:

答案 0 :(得分:2)

您在执行脚本后注入变量,您应该移动" Inject Enviroment Variables"在"执行Shell"

之前的步骤

答案 1 :(得分:-1)

问题是你不能有点'。'在文件名中。例如,将“env.properties”更改为“props”。