bug fixed
This commit is contained in:
parent
d9d817fed2
commit
2c3cd1a258
@ -122,11 +122,9 @@ spec:
|
||||
chmod -R 400 "${PARAM_USER_HOME}/.ssh/*"
|
||||
fi
|
||||
|
||||
if [ -f "$(params.GIT_USER_EMAIL)" ]; then
|
||||
git config --global user.email "$(params.GIT_USER_EMAIL)"
|
||||
fi
|
||||
if [ -f "$(params.GIT_USER_NAME)" ]; then
|
||||
if [ -n "$(params.GIT_USER_NAME)" ] && [ -n "$(params.GIT_USER_EMAIL)" ]; then
|
||||
git config --global user.name "$(params.GIT_USER_NAME)"
|
||||
git config --global user.email "$(params.GIT_USER_EMAIL)"
|
||||
fi
|
||||
|
||||
eval '$(params.GIT_SCRIPT)'
|
||||
|
Loading…
x
Reference in New Issue
Block a user