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

Personal Channel for direct notification for builds #303

Open
imsandli opened this issue Mar 2, 2023 · 0 comments
Open

Personal Channel for direct notification for builds #303

imsandli opened this issue Mar 2, 2023 · 0 comments

Comments

@imsandli
Copy link

imsandli commented Mar 2, 2023

What feature do you want to see added?

Would be great if this plugin could be able to send personal/direct notification to jenkins users like the slack plugin..

With the Slack plugin, every user can configure his personal channel in the jenkins user settings.

A proposal could be:
Every user could create his private channel and add an jenkins Connector to it.
He configures his (new) webhook url in his jenkins user settings and jenkins could then send messages to his personal channel somehow like:

office365ConnectorSend user: User.get(currentBuild.rawBuild.getCause(Cause.UserIdCause).getUserId(), false),
    message: 'Application has been [deployed](https://url.com)',
    status: 'Success'

or

office365ConnectorSend userByMail: env.GIT_UPLOADER_EMAIL,
    message: 'Application has been [deployed](https://url.com)',
    status: 'Success'

Upstream changes

No response

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

No branches or pull requests

1 participant