我有一个自由式项目,我正试图转移到詹金斯的声明性管道项目。它使用 SVN,项目设置为轮询 SVN 存储库并使用 SCM 中的 Jenkins 文件进行配置。所有这些都正常工作。
我的问题是,每个构建的更改集还包括最后一次成功构建的所有更改的 4 个副本。最初的自由泳工作没有发生这种情况。虽然这有点烦人,但真正成为问题的是,现在所有这些更改和作者在构建失败时都会成为罪魁祸首,因此每个人都会收到电子邮件,而不仅仅是最近的更改。为每个构建列出的更改跨越数月,每个新构建都将其更改添加到完整列表中。
例如,如果我查看此项目的最新更改,我会看到 4 个 build #60 副本,其中包含一堆已经在 build #59 中的更改,然后是 4 个 build #59 副本,其中:
#60 (build timestamp)
20967. fixing a typos in xxxxx <-- This is the only new change
20930. Reverted to 19901 <-- in build #59
20793. Temporary change to debug xxxx <-- in build #59 or #58 etc
20775. Add xxx block and xx to xxx <-- in build #59 or #58 etc
...
# #60 (build timestamp) <-- Duplicate of the last entry
20967. fixing a typos in xxxxx
20930. Reverted to 19901
20793. Temporary change to debug xxxx
20775. Add xxx block and xx to xxx
...
# #60 (build timestamp)
20967. fixing a typos in xxxxx
20930. Reverted to 19901
20793. Temporary change to debug xxxx
20775. Add xxx block and xx to xxx
...
# #60 (build timestamp)
20967. fixing a typos in xxxxx
20930. Reverted to 19901
20793. Temporary change to debug xxxx
20775. Add xxx block and xx to xxx
...
# #59 (build timestamp) <-- Previous build
20930. Reverted to 19901
20793. Temporary change to debug xxxx
20775. Add xxx block and xx to xxx
...
# #59 (build timestamp)
20930. Reverted to 19901
20793. Temporary change to debug xxxx
20775. Add xxx block and xx to xxx
...
# #59 (build timestamp)
20930. Reverted to 19901
20793. Temporary change to debug xxxx
20775. Add xxx block and xx to xxx
...
# #59 (build timestamp)
20930. Reverted to 19901
20793. Temporary change to debug xxxx
20775. Add xxx block and xx to xxx
...
我该如何解决?