如GitPlugin Wiki中所述,我们使用 GitPlugin 安装了 Jenkins 来拉取分支并合并它们。但是,当合并失败时,没有输出说明失败的原因,只是没有完全合并:
<snip>
Seen branch in repository origin/HEAD
Seen branch in repository origin/labs/intro
Seen branch in repository origin/master
Commencing build of Revision 620c4373792b8cef6a3992b6676892479ed379b0 (origin/REV_4/REV-1234)
Merging Revision 620c4373792b8cef6a3992b6676892479ed379b0 (origin/REV_4/REV-1234) onto REV_4/integration
ERROR: Branch not suitable for integration as it does not merge cleanly
[JaCoCo plugin] Collecting JaCoCo coverage data...
<snip>
我不能在本地复制这种行为。它与 Git 行尾设置有关。
谁能告诉我如何从 Jenkins 和 GitPlugin 中提取更多信息,以便我知道哪些文件失败了?