Use gerrit.instanceId instead of replication.instanceLabel

Pull-replication uses replication.instanceLabel to identify source
node. Gerrit 3.4 introduce gerrit.instanceId property. To avoid having
multiple properties which contains similar information use
gerrit.instanceId instead of replication.instanceLabel.

For backward compatibility replication.instanceLabel is still used
if present if not gerrit.instanceId will be used.

Bug: Issue 15636
Change-Id: I324f25bc38007a2a48c1068980a31c637f2cd9d1
6 files changed
tree: a825fda5915459a8793d6437b3113317307d4b3b
  1. src/
  2. BUILD
  3. Jenkinsfile
  4. LICENSE