Looking for an email notification solution

27 views
Skip to first unread message

jtp...@jimryan.com

unread,
Sep 30, 2020, 9:45:04 AM9/30/20
to Jenkins Users
Our company uses Office 365 for their email product.  I want to send an email notification from Jenkins if a build fails.  We use an API to send jobs, so the user(s) are not seeing the actual job.

The problem is the users want these emails sent to (preferably) a Slack channel, or (not as preferable) an MS Teams channel.  Both of the email addresses for these channels end in a non-corporate domain name.  While we can send email from our email to those addresses, Jenkins is configured, for security reasons, to not be able to send email to anything that does not end in a corporate domain.  

No, it is not possible, under corporate policy to change the Jenkins behavior, so we need a work around solution to this.  Thanks for any input.

Mark Prins

unread,
Oct 1, 2020, 9:28:30 AM10/1/20
to jenkins...@googlegroups.com
there is https://plugins.jenkins.io/slack/ to post to a slack channel, it can do all sorts of things, no need for email at all

Op wo 30 sep. 2020 om 15:45 schreef jtp...@jimryan.com <jtp...@jimryan.com>:
Our company uses Office 365 for their email product.  I want to send an email notification from Jenkins if a build fails.  We use an API to send jobs, so the user(s) are not seeing the actual job.

The problem is the users want these emails sent to (preferably) a Slack channel, or (not as preferable) an MS Teams channel.  Both of the email addresses for these channels end in a non-corporate domain name.  While we can send email from our email to those addresses, Jenkins is configured, for security reasons, to not be able to send email to anything that does not end in a corporate domain.  

No, it is not possible, under corporate policy to change the Jenkins behavior, so we need a work around solution to this.  Thanks for any input.

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f5cf457b-f6e8-452f-82bd-b49c075c5b22n%40googlegroups.com.


--
Disclaimer;
This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand.

Dirk Heinrichs

unread,
Oct 1, 2020, 9:36:21 AM10/1/20
to jenkins...@googlegroups.com
Am Donnerstag, den 01.10.2020, 12:17 +0200 schrieb Mark Prins:

there is https://plugins.jenkins.io/slack/ to post to a slack channel,

As well as https://plugins.jenkins.io/Office-365-Connector/ to post to MS Teams channels.

HTH...

Dirk
-- 
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
signature.asc
Reply all
Reply to author
Forward
0 new messages