Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to notify to owner or commiter #69

Open
n4hum opened this issue Apr 14, 2017 · 3 comments
Open

Unable to notify to owner or commiter #69

n4hum opened this issue Apr 14, 2017 · 3 comments

Comments

@n4hum
Copy link

n4hum commented Apr 14, 2017

Hi, I'm trying to notify of a broken build status to the specific commiter instead of a fixed @UserHandle or slack channel.

Does the notify conf file allows me to set for example the $GO_TRIGGER_USER go env variable in the channel field ???

If not Is there any workaround to achieve this ??

Thx

@ashwanthkumar
Copy link
Owner

@n4hum Today that isn't possible. We don't get the pipeline run environment variables in the notification plugin, since the plugin runs in the server context and environment variables are in agents.

@n4hum
Copy link
Author

n4hum commented Apr 14, 2017

Thanks @ashwanthkumar but isn't the pipeline commiter user a job / server side variable ?

@ashwanthkumar
Copy link
Owner

@n4hum We do have the set of changes for a stage run, but it's hard to derive username (for slack) because that's coming from the materials (and only if it's a SCM).

I don't have a definitive solution for this at the moment. Let me look around to see what can be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants