jenkins

jenkins远程执行脚本的方式,属于非交互式Shell,载入~/.bash_profile,需要用到.bash_profile的环境变量要单独export出来,若export项太多,可以直接source整个~/.bash_profile。

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注