HiveBrain v1.2.0
Get Started
← Back to all entries
patterngitMinor

Jenkins shows "No changes in any of the builds."

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
thebuildsjenkinsanyshowschanges

Problem

Description

Jenkins job was made and configured to build release branch which already existed and had changes on it before first build. Job also monitors for push on BitBucket and starts building if something is pushed to the release branch.

Problem is we didn't made any changes on release branch, instead we were rebasing it on development and pushing it which triggered builds but it shows "No changes in any of the builds." in Changes menu.

Question

Is there special configuration for Jenkins which allows it to handle rebase commits and show changes that occurred to that commit comparing to previous build?

Solution

Temporary workaround

Instead of calculating changes between builds compare changes against specific branch.

  • Open job configuration



  • Go to Source Code Management -> Git -> Additional Behaviours



  • Add Calculate changelog against a specific branch



  • Enter name of repository (origin in my case), and branch (master in my case)



Now instead of showing only new changes, each build will show all commits in release branch that are different comparing to master.

Context

StackExchange DevOps Q#4379, answer score: 4

Revisions (0)

No revisions yet.