Fix setting of GIT_SSH for timer merge jobs

Problem is that merge jobs triggered by timer don't supply
"refspec" event attribute, and, naturally, nothing is merged
but the repo is updated.
But, in such case, no connection info is passed to merger,
and GIT_SSH is not set.
So, the merge job will fail (perhaps, until some
other change events with "refspec" defined will
make this merger to set GIT_SSH properly)

Change-Id: I6dd96ae0bdcdf4c3db4c931a8c6ef7d5edfc1257
This commit is contained in:
Evgeny Antyshev
2017-02-08 08:42:59 +00:00
parent 08de693416
commit da90a50b79
7 changed files with 63 additions and 15 deletions

View File

@@ -26,13 +26,13 @@ logserver_prefix=http://logs.example.org/server.app/
driver=gerrit
server=review.example.com
user=jenkins
sshkey=none
sshkey=fake_id_rsa1
[connection alt_voting_gerrit]
driver=gerrit
server=review.example.com
user=civoter
sshkey=none
sshkey=fake_id_rsa2
[connection outgoing_smtp]
driver=smtp