gpt4 book ai didi

git - 如何在 Jenkins 中设置 "Git Changelog"?

转载 作者:太空狗 更新时间:2023-10-29 14:18:00 30 4
gpt4 key购买 nike

https://wiki.jenkins-ci.org/display/JENKINS/Git+Changelog+Plugin

首先,我只能看到屏幕截图中的内容,找不到“在作业摘要页面上打印”和“创建文件”部分。然后我得到如下所示的错误。谁能告诉我如何在此插件中正确设置参数?

enter image description here

Checking out Revision a781fbc49bda7083ebc05e28cee60de4e4258b17 (refs/remotes/origin/master)
> D:\Git\bin\git.exe config core.sparsecheckout # timeout=10
> D:\Git\bin\git.exe checkout -f a781fbc49bda7083ebc05e28cee60de4e4258b17
> D:\Git\bin\git.exe rev-list a781fbc49bda7083ebc05e28cee60de4e4258b17 # timeout=10
[GitChangelog] $ cmd /c call C:\Users\SVC_SE~2\AppData\Local\Temp\hudson6987037442402124620.bat

D:\public_jendevslave_1\workspace\Playground\GitChangelog>set
...
GIT_BRANCH=origin/master
GIT_COMMIT=a781fbc49bda7083ebc05e28cee60de4e4258b17
GIT_PREVIOUS_COMMIT=a781fbc49bda7083ebc05e28cee60de4e4258b17
WORKSPACE=D:\public_jendevslave_1\workspace\Playground\GitChangelog

D:\public_jendevslave_1\workspace\Playground\GitChangelog>exit 0
Saving processed git changelog to file D:\Jenkins\git_changelog.txt.
ERROR: Build step failed with exception
java.lang.RuntimeException: Ref a781fbc49bda7083ebc05e28cee60de4e4258b17 not found.
at de.wellnerbou.gitchangelog.jgit.GitLogBetween.getJGitLogBetween(GitLogBetween.java:34)

Build step 'Publish Git changelog' marked build as failure

最佳答案

添加“构建后步骤”时,您可以选择“Git Changelog”和/或“Git Publisher”。你应该选择“Git Changelog”。

关于git - 如何在 Jenkins 中设置 "Git Changelog"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36016043/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com