Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GITリポジトリがあります。GITの変更をGerritにプッシュすると、jenkinsビルドがトリガーされ、成功すると、コードがGITリポジトリにマージされます。
しかし、Jenkinsは常にGITリポジトリからソースを構築しています。Gerritにプッシュされた変更を選択していません。
Gerrit / Jenkinsでどの設定を変更する必要がありますか?
git Source Code Managementセクションのjenkins構成で、[Advanced]ボタンをクリックし、$GERRIT_REFSPECコミットされた変更セットを取得するrefspecを設定します。
$GERRIT_REFSPEC