Jenkins gerrit trigger not fetching my change while building

后端 未结 4 2026
半阙折子戏
半阙折子戏 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:32

    Fixing small issues in Lewis answer, change the values to the following to ensure the latest SHA1 is built.

    branch: $GERRIT_REFSPEC

    REFSPEC: $GERRIT_REFSPEC:$GERRIT_REFSPEC

提交回复
热议问题