Jenkins: how to get build started by, in editable email? - email

I am using editable email notification in jenkins, I want to add started by details in email content.
I have added user detail by adding below line.
Started by user: ${BUILD_USER}
It give username if it is triggered by some user, but there are 3 possible ways as below.
Started by an SCM change
Started by timer
Started by <user>
In case of SCM and timer, ${BUILD_USER} won't work.
Is there any way to display this details in email?

Related

Moodle Auto attendance is not working as expected

I am trying to get notification/email when user logged in and access the course. I am getting emails after I login as admin/teacher and click on block auto attendance than it will send around 40+ emails at a time to my email id. Instead I want when user login it should send me email.
I have tried to add file_put_contents($CFG->dirroot."/blocks/autoattend/file_name.txt","some text",FILE_APPEND) But still I am not able to find out this file. Cron is working fine but seems cron function of this plugin is not calling.
How to get email notification when someone login? How can I debug cron?
I installed auto attendance block and auto attendance mod. Document says auto attendance mod has cron, so updated that file to but when student start learning on course it must send email of attendance.

GitLab not sending email notifications (smtp)

I did set up GitLab with the official CE AMI and used the SMTP configuration setup (with AWS SES) as described here. Sending a test mail works without problems. What is not working is receiving mail on notifications (like "new comment" or "merge request").
For example my notification setting is watch(= all notifications). Now I add a new comment and mention myself, everything works fine, my TODO counter (right top) increases but no email is sent. I checked the sidekiq.log file and it says ...
2017-04-24_18:35:38.21211 2017-04-24T18:35:38.212Z 3800 TID-os4gzzujo NewNoteWorker JID-a1f08d6db7451695d6830a6a INFO: start
2017-04-24_18:35:38.29925 2017-04-24T18:35:38.299Z 3800 TID-os4gzzujo NewNoteWorker JID-a1f08d6db7451695d6830a6a INFO: done: 0.087 sec
... but no email is sent. Using grep 'mail' sidekiq.log doesn't yield anything useful either.
I figured it out. The important part is the last sentence on the Notifications help.
You won't receive notifications for Issues, Merge Requests or Milestones created by yourself. You will only receive automatic notifications when somebody else comments or adds changes to the ones that you've created or mentions you.
So when you're setting up GitLab on your own, create another dummy user, then impersonate that user and mention your actual account. That way you will receive an email notification.

Workflow email notification template

I have created custom workflow for reviewing the content before publishing if the content is okay admin will approve if it needs any changes admin will reject the content. in both cases workflow send email to the initiator?
by default its taking input template from /etc/workflow/notification/email/default/en.txt
when i made changes to this file its not reflecting in that workflow email notification to the user. I want to customize the template. Is there anyway to overcome this problem?
Restarting com.day.cq.mailer.DefaultMailService on 6.3 solved the same issue for me. Restarting the whole AEM also worked, btw.

AEM Inbox notification not showing?

I created a Custom workflow added a participant step to user review. Since few days back i am not able to see the participant step Notification in AEM Inbox :(
I checked Permission and everything its works fine, I am using AEM 6.2
My Workflow model:- /etc/workflow/models/HPE_Review.html
The same way my current Running Workflow Instance Also not showing.
Can anybody help me to enable Inbox notification?

share point 365 - workflow only work for me

Good day. I am not getting solution any where so finally i decided to post here.
I am using share point 365 . I created 1 list . once list data updated Email needs to trigger.
I created work flow in share point designer 2013.
In my List i have only 1 Filed.
Field : Manager email id ( Text Box )
in work flow i trigger email for me and manager email id.
But email trigger only for me not my manager.
So check the permission and given contribution permission to "everyone except external users"
Again i tried email not triggered.
Again i given permission for Particular manager .
Then i tried , Email trigger happen.
I have more than 5000 People i cant able to add individual for all 5000 so i used "everyone except external users" but this is not working.
Is this Bug ? or we have work around for that.
Waiting for your response.
Regards,
You have to create workflow in SharePoint designer.
Follow these steps
Create a list
Click on edit . Add a field Email having type string.
save it.
Open this list in SharePoint designer. Create a workflow.
Click on action.
Under core action, click on send a email option.
Click on these users.
Then a define email message window will be displayed.
Click on a icon of To section.
Choose Workflow Lookup for a user from the list. Click on Add.
Select Current Item in Date source section and the Email field of our list in field section. Press OK.
Draft a email that you want to send. Press OK.
Follow same steps for you as user also.
In transition to stage section,select go to end of workflow.
Click on workflow setting.
In Start option, tick all the options.
Publish it.