You could use groovy to collect the commit message from the ChangeSet and 
then put it in an environment variable.

On Tuesday, November 19, 2019 at 9:53:52 AM UTC-5, Jeremy Hartley wrote:
> Hi,
> I'm playing around a bit with Git environment variables to send to slack 
> and would like to include the Git commit message. I don't see it available 
> in the list here: 
> Is there any way to send the Git commit message to slackSend as an 
> environment variable in my pipeline?
> Thanks
> Jeremy

You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To view this discussion on the web visit

Reply via email to