Sometimes a build is not able to create a changelog because the previous build did not record any revisions. A Subversion post-commit hook is used to trigger the build.
I use the "checkout" step with "poll: true" and "changelog: true" on one of the nodes. Normally, the polling log states something like:
Sporadically, this fails with:
Note that there is no second "Received SCM poll call on master for CI" in the second, failing, log. I don't know where this comes from, the SVN post-commit hook only sends the commit notification once.
The node that holds the working copy that is used for creating the changelog and for polling is not "master" but another windows agent.
During the build, the checkout step normally states:
(is it normal that no changes can be seen here? Because the poll already updated the working copy?)
In case the polling failed, the checkout step reports:
As already said, this is sporadically. About 1 out of 10 builds. But, sometimes 3 builds in a row will fail to record a changelog.
I don't see any differences between the commits that could be causing this. During the tests I did the exact same commits (commit -> revert -> commit -> ...) and most of the time creating the changelog/polling works but fails eventually.