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: 
> https://wiki.jenkins.io/display/JENKINS/Git+Plugin#GitPlugin-Environmentvariables
>
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a0b485ff-8f48-4432-be5b-8a2d6af600a4%40googlegroups.com.

Reply via email to