Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
-
CloudBees CI (CloudBees Core) on traditional platforms - Client controller
-
CloudBees Jenkins Enterprise - Managed controller
-
Git plugin
Resolution
If you take a look at the build and you see that every build has different hash and it is from a different branch, you should check your SCM configuration to see that the git plugin it is working as expected for your configuration, you probably have configured "Branches to build" as "" that means "origin/" thus all branches, so when you launch the job it launches a compilation for each new branch changed.
If you want only to compile changes on one branch or a set of, you have to set a proper value, for example, "/master" or "/branch-pattern*"