Commit 304b87a1 by John Jarvis

remove non-ascii chars from build-user vars

parent c7e82301
...@@ -20,6 +20,12 @@ ...@@ -20,6 +20,12 @@
export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto
# remove non-ascii chars from build user vars
BUILD_USER_LAST_NAME=$(echo $BUILD_USER_LAST_NAME | iconv -c -f utf-8 -t ascii)
BUILD_USER_FIRST_NAME=$(echo $BUILD_USER_FIRST_NAME | iconv -c -f utf-8 -t ascii)
BUILD_USER_ID=$(echo $BUILD_USER_ID | iconv -c -f utf-8 -t ascii)
BUILD_USER=$(echo $BUILD_USER | iconv -c -f utf-8 -t ascii)
if [[ -z $github_username ]]; then if [[ -z $github_username ]]; then
github_username=$BUILD_USER_ID github_username=$BUILD_USER_ID
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment