Re: Git Commit Message as an Environment Variable

2019-11-20 Thread 'Eric Boehm' via Jenkins Users
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 incl

Is it possible to update a variable in a dynamically created stage?

2021-06-21 Thread 'Eric Boehm' via Jenkins Users
I am having a problem updating a variable based on the result of a shell script when I create stages dynamically. I think that this is because the dynamically created stage is a closure and its view of the variable is as of the time of the closure. Is there a way to solve this problem? Here's the