I'm using the 'Bitbucket Branch Source' plugin and see this on all builds, all branches and can't find any way to make it record changes. I fiddled with pretty much any git setting/extension I could find, it just keeps telling me "First time build. Skipping changelog."
It seems to have something to do with not being able to determine the revision of the previous build. What does work is overriding the checkout and getting changes against a specific branch:
checkout(changelog: true, scm:[
extensions: [[$class: 'ChangelogToBranch', options: [compareRemote: 'origin', compareTarget: 'master']],[$class: 'AuthorInChangelog'], [$class: 'CloneOption', noTags: false, reference: '', shallow: false], [$class: 'CleanBeforeCheckout']],
Based of https://devops.stackexchange.com/questions/4379/jenkins-shows-no-changes-in-any-of-the-builds
However that shows way to many changes.
Another observation is that on some projects I use a shared library, changes made to the library do show up. So something works...