Jenkins Git plugin and Refspecs

后端 未结 1 1339
鱼传尺愫
鱼传尺愫 2021-02-06 23:47

What is the difference between Refspec and Branch specifier (blank for default): in the below Jenkins job configuration:

相关标签:
1条回答
  • 2021-02-07 00:39

    Refspec defines options for the fetch operation (see here and here) whereas the branch specifier defines which branch contains the code to be built by Jenkins. In other words: Refspec only defines how the code is retrieved while branch specifier which part of the code is going to be compiled.

    [Edit:] Fixed broken link to refspec

    0 讨论(0)
提交回复
热议问题