Jenkins gerrit trigger not fetching my change while building

后端 未结 4 2024
半阙折子戏
半阙折子戏 2021-02-07 14:48

I have configured jenkins with gerrit trigger plugin to validate every commit we push to gerrit. I am expecting this trigger to include my latest change with original repo and m

4条回答
  •  隐瞒了意图╮
    2021-02-07 15:30

    You have to change the Choosing Strategy to Gerrit Trigger

    Go to the configuration page of your job and then click on the 2nd Advanced button under the git section. Almost at the bottom there is a Choosing Strategy that you will need to change to Gerrit Trigger

    This will cause Git to fetch the correct version for your build

提交回复
热议问题