Jenkins triggers SCM polling against last successful build on restart

8 views
Skip to first unread message

AndresF

unread,
May 8, 2019, 9:18:10 AM5/8/19
to Jenkins Users
Hi all,

I've come across this strange behaviour:

I have serveral projects configured for SCM polling (Subversion). They work well, triggering the build when changes happen on the remote repository. Even when the last build is FAILURE, it uses it's SCM revision as a baseline for comparing revisions against the remote repository.

However, at Jenkins restart, polling is triggered, but apparently it compares against the LAST SUCCESSFUL build of the project. Also, Jenkins keeps always the last successful build of every project, regardless of how many builds it's configured to keep.

In projects that fail often, this can lead to comparing to an old revision at restart, triggering the build.

Is this really a lack of consistency in the polling mechanism or am I missing something?
Reply all
Reply to author
Forward
0 new messages