5

As part of our CI setup I am using AWS Beanstalk deployment plugin to deploy my application through Jenkins.

The issue is I am getting git commit hash in beanstalk application versions description. I want to have the commit message instead. I was able to output the message in Jenkins console output using the execute shell step. but for some reason I can't seem to transfer it to beanstalk. If I'm using eb deploy the description contains the commit message. I am getting a blank description with ${ENV,var="MESSAGE"} in beanstalk.

Would appreciate any help on how to have the commit message in beanstalk application versions.

pic1 pic2 pic3

kenorb
  • 8,011
  • 14
  • 43
  • 80
Amits
  • 151
  • 1

1 Answers1

1

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!

Vorsprung
  • 320
  • 3
  • 12