Integrating SMS service in Jenkins - jenkins

Does anyone know how to implement SMS Plugin in Jenkins?!
I have searched in Jenkins and found the plugin (SMS Notification), however it involves cost.
I want to integrate SMS without bearing the cost. Any help is appreciated!! :)
Thanks

This is a legitimate question!
Make sure you are using Jenkins 2.x
Download the email-ext plugin from https://plugins.jenkins.io/email-ext
Install the plugin and restart Jenkins
Configure your job -- in the Post Build Actions, select Editable Email Notification and enter the emails for the cellular company being used in the Project Recipient List
T-mobile would be phonenumber#tmomail.net
Verizon would be phonenumber#vtext.com
AT&T would be phonenumber#txt.att.net ... etc
Make sure you avoid the problem I had: Your System Admin e-mail address must have a valid email address.

Related

OpenVPN two-factor authentication with Authy plugin; how to bypass for specific users

I have successfully installed the official Authy 2FA plugin for OpenVPN (community edition) and the plugin is working. However, I need to bypass/whitelist certain users and devices.
The office Authy FAQ (found here: https://www.authy.com/integrations/openvpn/ ) states:
I haven't added users with the script authy-vpn-add-users or manually, and my vpn users can't login, what happened?
Authy plugin whitelist users, so it will only authorize users that are in the authy-vpn.conf
I have no clue what they mean by: "Authy plugin whitelist users" and how to do this.
Any details would be greatly appreciated.
Thank you - Lars Larsen
Twilio developer evangelist here.
When you haven't already added any users, either with the script or manually, then they won't be able to log in because they are not present in the plugin config.
It might be worded badly, but I think the line means that you should add the users to your config by using the script authy-vpn-add or editing authy-vpn.conf directly, adding their email and Authy ID. There's more on how to do this in the instructions in the project on GitHub.
(Disclaimer: I haven't setup OpenVPN or used this plugin myself, this is hopefully an informed guess though. Hope it helps!)

How to send pipeline changes(commits) notification to microsoft teams\skype using jenkins

I want to send pipeline changes(commits) notification to teams channel using Jenkins and notify all what changes have been deployed. I know about the office365 plugin in jenkins but the problem is it only tells the status of pipeline etc pass/fail/stopped.
P.S sending notification to skype would also work. Please help!!
This can be setup directly in teams through the connectors marketplace.
First click on the elipses of a channel you want the information to be posted to.
Search for jenkins and configure
From here you should be able to run through the configuration process supplying details as required.

Send attachment from Jenkins to Teams

I recently integrated my Jenkins with Microsoft Teams for notifications. Through webhook, I am able to push the notifications to the channels under my Team.
Refered -
https://wiki.jenkins.io/display/JENKINS/Office+365+Connector+Plugin
Now the scenario is I need to send an attachment like build log, etc to be sent out from Jenkins to Teams as like Email editable plugin do.
Can anyone advise?
Connectors only support MessageCard. There is no option to send attachments using Connectors.

Trigger Request for Slack's Magic Login Email

I'm building a small email app (on iOS first) for internal team use only. We also have a Slack team that I'm rolling out to the whole group (about 250 people) around the same time I'm launching the app.
I'm going to have a lot of older and tech-phobic users, so I'm trying to make things as easy as possible for them. Since I'm writing the email app, I figure to making on-boarding even easier I can:
Check if they've got the Slack app installed (via the canOpenURL method)
Send them to the App Store to download if they don't
Open the Slack app for them if they do
Look for the magic login email
Automatically open the URL from the email.
All that is great, but it would be fantastic if I could trigger sending that email automatically and don't even need to send them to manually put in the team URL and their email. Anybody know a way?
CLARIFICATION:
One big reason I want to do this that I didn't make very clear is that when the Slack app sends the email it prompts you to go to your email app to receive your login link, but since iOS doesn't allow changing the default email app, it will send them to the wrong one for my user's purposes.
Sure. If you already have the emails of your target group you can generate the invitation mails programmatically with a small script.
You will need to use the undocumented API method users.admin.invite for that.

cordova hybrid Email client app

I have been asked to create an Email client for Android/ios.
I have been looking at Cordova to create this email client app.
There is a cordova-plugin-email-composer plugin to send mails, but I am wondering how to receive Emails through Imap, and store them.
Can anyone advise on this? Or maybe suggest an alternative for Cordova to create a hybrid mail client app?
SMTP (sending mails) is the easier task in cordova, even with mailto:yourname#mailserver.com?subject=...&body=... in the href-attribute in HTML5 you can send an e-mail on mobile devices cross plattform.What you need is a library for IMAP and/or POP3 access in cordova.
I look for the same plugin in Cordova, to write an OpenSource-App as Messenger replacement for WhatsApp using existing Mailserver. This has many advantages:
This OpenSource-App could use existing Infrastructure for sending and receiving messages and attachments as mails. No need to set up new server infrastructure
Messengers like WhatApp are popular and users like that quick communication style.
There is no need to provide my communication to DCC (Data Collecting Company) like Facebook for WhatsApp. Everyone could use the mail server she/or he prefers.
You can receive messages and send messages on a desktop computer with a regular mail client, cross-plattform and cross devices
Basic concept used from AT6FUI

Resources