gerrit-one-way-sync: set git user info
This commit is contained in:
parent
0ff5eea4ed
commit
3fa4a25d87
|
@ -30,6 +30,8 @@ let
|
|||
cd ${cfg.workingDir}/${name}
|
||||
git pull origin ${fromRefspec}
|
||||
EXPECTED_REF=$(git rev-list ${localRefspec} | head -1)
|
||||
git config user.name Fork-o-Tron
|
||||
git config user.email noreply@forkos.org
|
||||
git fetch ${fromUri} ${fromRefspec}
|
||||
git merge FETCH_HEAD
|
||||
GIT_SSH_COMMAND='ssh -i ${cfg.deployKeyPath}' git push ${cfg.pushUrl} HEAD:${targetRef}
|
||||
|
|
Loading…
Reference in a new issue