stderr: fatal: Couldn't find remote ref $GERRIT_REFSPEC

后端 未结 4 1970
失恋的感觉
失恋的感觉 2021-02-14 09:56

Before anyone guns me down..I have looked at all the messages that has this error but they seem to manifest from a different problem,I couldn\'t get any substantial information.

4条回答
  •  孤城傲影
    2021-02-14 10:23

    • Go to the Job's Configure page and search to check This build is parameterized box.
    • Then set Name to GERRIT_REFSPEC
    • and Default value to refs/heads/master.

    It took me some time to search for how to add this string parameter mentioned in the Gerrit Trigger plugin manual. I use Jenkins 1.567 with Gerrit Trigger 2.11.1.

提交回复
热议问题