---
# System prepended metadata

title: Gerrit/Jenkins 維護記錄

---

# Gerrit/Jenkins 維護記錄

## 2022/08/18 Gerrit upgrade to 3.4.5-1-g17d4000022
### 原因：修正ssh相容性問題

### 步驟
```
sudo service gerrit stop
sudo vi /etc/default/gerritcodereview (sync with new gerrit instance path)
sudo ln -sfv /data/gerrit/gerrit-3.4.5_ssdh/bin/gerrit.sh /etc/init.d/gerrit
sudo service gerrit start
```
```
cp -r gerrit-3.4.5 gerrit-3.4.5_ssdh
java -jar release.war init -d gerrit-3.4.5_ssdh
java -jar ./bin/gerrit.war reindex
```