Fix env initialization
Change-Id: I0a5947715776cde3b1585239d3c2856a13ef7785
Related-PROD: PRODX-37274
diff --git a/src/com/mirantis/mk/Git.groovy b/src/com/mirantis/mk/Git.groovy
index 17b0cf3..a5203f5 100644
--- a/src/com/mirantis/mk/Git.groovy
+++ b/src/com/mirantis/mk/Git.groovy
@@ -138,10 +138,10 @@
gitOpts = ''
}
def gitEnv = [
- "GIT_AUTHOR_NAME=${gitName}",
- "GIT_AUTHOR_EMAIL=${gitEmail}",
- "GIT_COMMITTER_NAME=${gitName}",
- "GIT_COMMITTER_EMAIL=${gitEmail}",
+ "GIT_AUTHOR_NAME='${gitName}'",
+ "GIT_AUTHOR_EMAIL='${gitEmail}'",
+ "GIT_COMMITTER_NAME='${gitName}'",
+ "GIT_COMMITTER_EMAIL='${gitEmail}'",
]
dir(path) {
sh "git config ${global_arg} user.email '${gitEmail}'"