Jenkins声明性管道不正确的SVN更改列表

时间:2018-08-15 20:43:49

标签: jenkins svn jenkins-declarative-pipeline

我有一个自由式项目,我正在尝试移至jenkins的声明性管道项目。它使用SVN,并且已设置项目以轮询SVN存储库,并使用SCM中的Jenkins文件进行配置。所有这些都能正常工作。

我的问题是,每个构建的变更集都包括上次成功构建中所有变更的4个副本。原始的自由式作业没有发生这种情况。尽管这有点令人讨厌,但真正引起问题的是,现在所有这些更改以及构建失败时作者都是罪魁祸首,因此每个人都可以收到电子邮件,而不仅仅是最近的更改。每个构建版本列出的更改跨越几个月,每个新构建版本将其更改添加到完整列表中。

例如,如果我查看此项目的最新更改,我会看到#60版本的4个副本,其中包含#59版本中已经进行的大量更改,然后看到#4版本的#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
...

我该如何解决?

0 个答案:

没有答案