After a build completes from a git repo, there is a code commit message value in the build result summary. This is just the commit message in the git commit/push. I want to pass that value to a script, but I don't see in the global variable list which variable to use. Anyone know what specifically it is?
Commit message is not available as a variable, only commit sha is:
${bamboo.planRepository.revision}
You can extract commit message with git like this:
git log -1 --format=%s%n%b
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.