diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2011-05-25 17:02:14 +0300 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2011-05-25 17:02:14 +0300 |
commit | f07421ebc070e8f9adad7e2a1df33987ef84434a (patch) | |
tree | 35df434c19225bc24e1c020b9c04cd408ff86514 /node | |
parent | 54a56d0c458469e992cb7ffd24f0b5c948baf0cd (diff) |
Add sudo -E to preserve Jenkins vars in environment so sub scripts can use them.
Diffstat (limited to 'node')
-rwxr-xr-x | node/build | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ fi chown jenkins-build:nogroup build cd build -sudo -H -u jenkins-build bash -xes "${BUILD_SCRIPT_ROOT}" "$@" <<\EOF +sudo -E -H -u jenkins-build bash -xes "${BUILD_SCRIPT_ROOT}" "$@" <<\EOF export BUILD_SCRIPT_ROOT="${1}" HOST="${2}" export CONFIGURATION="$(echo "${3}" | base64 -id)" |