Github commit message when deploying to aws beanstalk in Jenkins
This gives a short commit message

git show -s $GIT_COMMIT --format="format:%s"


I'd probably put this in the "Excute shell" command box

Hope this helps!