【发布时间】:2013-02-08 13:18:09
【问题描述】:
作为发布构建的构建步骤的一部分,我希望访问特定构建的变更日志。特别是 git 提交消息。
我不确定我是否可以在构建步骤中通过 git 执行此操作,或者将更改日志设置为我可以访问的参数。任何帮助表示赞赏。
【问题讨论】:
作为发布构建的构建步骤的一部分,我希望访问特定构建的变更日志。特别是 git 提交消息。
我不确定我是否可以在构建步骤中通过 git 执行此操作,或者将更改日志设置为我可以访问的参数。任何帮助表示赞赏。
【问题讨论】:
git log 可能是你的答案:
anew@Wintermute$ git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short
* 8e11818 2013-02-05 | Add first rough prototype of json controller. Add naive first model as a placeholder. Add separate contexts
* 6570201 2013-01-30 | Remove DAO layer. Preparation for graph data layer. [4n3w]
* a079c87 2013-01-30 | Cleanup. Wish I had more time for this! [4n3w]
编辑:我发现了这个How to compose git log for pending changes in TeamCIty,它可能与您正在尝试做的事情重复。
【讨论】: