The currentBuild
global variable in Jenkins has a method of getBuildCauses()
. The Reference says this:
getBuildCauses Returns a JSON array of build causes for the current build
I was wondering, why does this method returns an array? Is there any possibility that a build was caused by several causes?