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