Jenkins email notification is not working - shell

I just wanted to send an email from Jenkins Editable email notification. I want the output as table format. In Editable notification, there is an option to give Content Type is html and input html tags.
I configured everything. but when I triggered the build it says 'No emails triggered'. Not sure what could be the error. Does anyone have any idea? also please let me know how to send emails with table(it would be in body of email) in shell scripts.

I believe you should click the
"Advanced setting" button ==> Add Trigger, and then choose something like "Always".

Related

Modify Email link in Sonarqube Email Notification

I have set up an Email notification in SonarQube for project builds
Everything is working fine but I need to change the following part
See it in SonarQube: http://<>domain-name:9000/project/issues?id=attendance%3AAttendance%3Amaster&createdAt=2018-10-23T10%3A17%3A44%2B0000
to
See it in SonarQube: http://<>domain-name:9000/project/issues?id=attendance%3AAttendance%3Amaster only
Can I modify that ?
No, you cannot modify the URLs embedded in email notification messages. And in this particular example, the createdAt parameter is intentionally present to direct you to a page with filtered results so that you see only relevant content. In other words, this is explicitly by design, and it's not customizable.

Cannot read Outlook Sent Items with Blue Prism Mapiex Get Mail function

I tested reading mail from Sent Items with BP Mapiex Get Mail, but it only works with Inbox (default folder in action). Folder name is correct (I took it as I see it in Outlook).
Error message: Failure in Get Mail function of Blue Prism Extended
MAPI Automation. Failed to open sub-folder 'Sent Items'.
Would anyone have any ideas, what can help it work with Sent Items?
Thanks!
This is because Get Mail was configured to look in the Inbox only (and sub folders within the inbox). You can add a rule in Outlook to move the sent items to a sub-folder (then you use the Get Mail action), or add a new page in your MAPIEx object. If you go with the latter, you can proceed like this:
Open the MAPIEx object and duplicate the page called 'Get Mail', rename the page and the code stage to something else, such as Get Sent Items, then publish it. I did it this way:
Open the code stage and edit this line (line 17) so that it looks like the following, from OpenInbox() to OpenSentItems():
Editing the highlighted items is optional but preferable as it makes it easier to debug should there be issues. For instance, you would change anything that says Inbox to Sent Items.
From there you can call the action from your process just like you would call Get Mail.

TFS Alert when label is created

Can I configure an alert when a TFS Label is created ? I don't find that option in the current predefined alerts. These are the ones I found:
And I want when a label is created:
Send an email notification.
No, this is not possible using the standard Alert features.
I created my own solution! I don't know how much access you have to your on-premise TFS instance, but you need to be able to execute t-sql scripts against the TFS mssql database. My solution is here: https://github.com/Antebios/tfs-label-notification
And when anyone creates a TFSVC label I get an email alert that looks like this:
Basically, I created a database trigger to populate a table. I query that table and send an email out, then mark the label as sent. I also have a trigger to delete form that table just in case the label gets deleted. I wrote the service in .NET Core just in case anyone wants to convert it to run within a container. Let me know if this helps or not.

How to edit system emails on SugarCRM CE 6.3?

I can't click on the link on the email that SugarCRM sends when the "Assigned User" changes, because it lacks the 'http:' part (starts with //sugarcrmhost.com/blahblah). Is there a way to edit that message so I can force the http://?
I can click on webmail, but not on mail applications (Like thunderbird).
This is the email I receive:
"Some Person has assigned a(n) module_name to Another Person.
You may review this module_name at:
//sugarhost.com/crm//index.php?module=module_name&action=DetailView&record=b9ba48d2-2d20-b1fc-a2f8-4e83765f9062
The url in the notification emails are based on the following:
{$sugar_config['site_url']}/index.php?module={$focus->module_dir}&action=DetailView&record={$focus->id}
So check your config files and see what site_url is set to.

Automatically email the recent changes for a particular build in Hudson

Is there any way to send an email in Hudson which has the list of recent changes in that build?
For example
Trigger a build and if you go recent changes there we have some recent changes. Once it is success, the email should have the list of the changes that happened in that particular build. After this, say the next build fails (build fail email will be triggered), but it records the changes and these change lists also should be included in next successful build.
You'll first need to install the Email-ext plugin for Hudson.
Inside the project configuration, under Post-build Actions click the Email Notification and Editable Email Notification checkboxes. Instead of having the Content be $PROJECT_DEFAULT_CONTENT you'll want to use a different token. Those are described when you click the help icon (?) for Content Token Reference.
Specifically to your example, add (or edit if it exists) the trigger for Success. Change the Content of the success email to use the token ${CHANGES_SINCE_LAST_SUCCESS, reverse, format, showPaths, changesFormat, pathFormat}. The different options are explained in the reference. If you just want the defaults, simply use ${CHANGES_SINCE_LAST_SUCCESS}

Resources