Hello!

It looks like that information is available to the plugin: 
https://plugin-api.gocd.org/current/notifications/#stage-start-notifications 
(see the part which says "approved-by").

So, this is something that should be asked at the issue tracker of the plugin: 
https://github.com/ashwanthkumar/gocd-slack-build-notifier -- a PR will 
probably be appreciated if it is a change which will be accepted there.

I see some code which already uses that property here: 
https://github.com/ashwanthkumar/gocd-slack-build-notifier/blob/1de8ef6d0a8680a4248ec77e857492d9678c2672/src/main/java/in/ashwanthkumar/gocd/slack/SlackPipelineListener.java#L93

Cheers,
Aravind

On Mon, Dec 16, 2019 at 22:11:49 -0800, Sergii wrote:
> Hi everyone,
> 
> We managed to deploy GoCD into our environment and everything works well - 
> big respect to developers for amazing product!
> 
> We use Slack notifications a lot for information about pipeline stages, etc 
> and now I am thinking how to include what or who triggered the pipeline 
> into Slack message.
> 
> Fo example, we have deployment to live servers set as manual so whenever 
> someone triggers it would be great to see "Deployment to live triggered by 
> XXXX".
> 
> I wonder if we can get who triggered the pipeline as variable somewhere?
> 
> Thank you in advance 

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/20191217084210.5muveuyvmjb6a36w%40arvindsv.com.

Reply via email to