I am looking for the step to follow for enabling email notification for one of GoCD pipeline, someone can please help

92 views
Skip to first unread message

Sunaina Awadhiya

unread,
May 1, 2020, 12:18:34 PM5/1/20
to go-cd
I am looking for the step to follow for enabling email notification for one of GoCD pipeline, someone can please help

kritik...@thoughtworks.com

unread,
May 3, 2020, 11:40:43 PM5/3/20
to go-cd
Hey,


Thanks
Kritika

Sunaina Awadhiya

unread,
May 3, 2020, 11:57:12 PM5/3/20
to go...@googlegroups.com
Hi Kritika,

Thanks for your response but i feel above setting is generic for all the pipelines but i want to enable email notification for few of my pipeline which i am owning, Not sure if above will help. Could you please confirm.

Basically we have more than 10 pipelines and 2 of them is owned by me.I need email notification for those two with no impact on other notifications.

Thanks and Regards,
Sunaina

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/84501a74-8451-4bba-a2f3-8da079ea3810%40googlegroups.com.


--
Sunaina Awadhiya
Bangalore
Message has been deleted

Shivani Shinde

unread,
May 4, 2020, 1:00:46 AM5/4/20
to go...@googlegroups.com
Hi Sunaina,
I assume you are able to login to GoCD with your credentials and email server settings are configured.

If 2 out of pipelines are owned by you, then first:
  1. Login onto GoCD Dashboard
  2. Go to your Profile(Clicking on your name in top-right corner) >> Preferences.
  3. Under "CREATE NOTIFICATION FILTER", in "Pipeline" dropdown, you will see your pipeline name for which you want to receive email notification.
  4. Select the pipeline, stage and event you want to receive notification for.
  5. Click on Add.

On left side of the page, under Email Settings:
  1. Click on Edit button below first.
  2. Enter your email id and alias as "User, username" (As mentioned in the link Kritika shared)
  3. Click on save.
Run the pipeline and check your inbox.
Now you will get email notification for those pipelines which you have selected.
I have attached a screenshot of my configuration for a pipeline I own for your reference.

Hope this helps!

Thank you.



--
Shivani Shinde
AlefEdge

CONFIDENTIALITY. This email and any attachments are confidential to Alef Edge Inc., and may also be privileged, except where the email states it can be disclosed. If this email is received in error, please do not disclose the contents to anyone, notify the sender by return email, and delete this email (and any attachments) from your system.

Screenshot from 2020-05-04 10-20-56.png

Sunaina Awadhiya

unread,
May 4, 2020, 1:42:45 AM5/4/20
to go...@googlegroups.com
Thanks Shivani, This worked.

Appreciate your quick help.



--
Sunaina Awadhiya
Bangalore

Sunaina Awadhiya

unread,
May 4, 2020, 2:55:59 AM5/4/20
to go...@googlegroups.com
Hi Shivani,

Is it possible to customize email notification with overall summary report kind of thing instead of default content?

Thanks in Advance,
Sunaina
--
Sunaina Awadhiya
Bangalore

Shivani Shinde

unread,
May 4, 2020, 3:29:15 AM5/4/20
to go...@googlegroups.com
Hi Sunaina,
I tried this too, but GoCD's Email functionality id limited to default content only. Moreover, the email contains URL to stage level execution summary.

Also, I have observed one thing that is each stage execution log is stored in a log file on your go server machine in directory:-  go-server/data/console/<some-name>.log .
The log file vanishes (stored somewhere, but I haven't found out where) after each stage. You could check this file and see if you could attach it to the mail.

If you get solution to your problem, please do post on this mail thread.  : )
Hope this helps!

Thank you.

Sunaina Awadhiya

unread,
May 4, 2020, 12:42:15 PM5/4/20
to go...@googlegroups.com
Hi Kritika,

Just curious to know if i can customize email notification default template and report can be accessed without GoCD credentials. we generate Html report in our application, is there any way to link such report.

Thanks and Regards,
Sunaina

On Mon, May 4, 2020 at 9:10 AM kritik...@thoughtworks.com <kritik...@thoughtworks.com> wrote:
--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/84501a74-8451-4bba-a2f3-8da079ea3810%40googlegroups.com.


--
Sunaina Awadhiya
Bangalore

Ashwanth Kumar

unread,
May 6, 2020, 12:27:57 AM5/6/20
to go...@googlegroups.com
Hello Sunaina,

If you want more control on the notifications, consider adding a task (preferably) as the last stage in the pipeline that can send you an email with whatever template / attachments that's needed. This could be achieved using a custom program / script or if you're using a Linux based machine, you can also configure postfix on the agent(s) and use mail / mailx commands. 



--

Ashwanth Kumar / ashwanthkumar.in

Sunaina Awadhiya

unread,
May 7, 2020, 6:53:00 AM5/7/20
to go...@googlegroups.com
Thanks Ashwanth for help, Could you please let me know below things:

1. which variable is set for total no of tests executed/Passed/Failed
2. can we externalize test report generating inside.



--
Sunaina Awadhiya
Bangalore

Sunaina Awadhiya

unread,
Jul 29, 2020, 1:45:12 PM7/29/20
to go...@googlegroups.com
Can anyone help me with the steps to get reports from all stages running in parallel, AS i have noticed i am getting report only for 1 stage and other stage reports are lost.
I have created custom tab for report
--
Sunaina Awadhiya
Bangalore

Jason Smyth

unread,
Jul 30, 2020, 11:53:04 AM7/30/20
to go-cd
Hello Sunaina,

I recommend opening a new thread for your new question.

This will help others who may later come searching for answers to similar issues.

Regards,
Jason


On Wednesday, 29 July 2020 13:45:12 UTC-4, Sunaina Awadhiya wrote:
Can anyone help me with the steps to get reports from all stages running in parallel, AS i have noticed i am getting report only for 1 stage and other stage reports are lost.
I have created custom tab for report

On Thu, May 7, 2020 at 4:22 PM Sunaina Awadhiya <s.saw...@gmail.com> wrote:
Thanks Ashwanth for help, Could you please let me know below things:

1. which variable is set for total no of tests executed/Passed/Failed
2. can we externalize test report generating inside.

On Wed, May 6, 2020 at 9:57 AM 'Ashwanth Kumar' via go-cd <go...@googlegroups.com> wrote:
Hello Sunaina,

If you want more control on the notifications, consider adding a task (preferably) as the last stage in the pipeline that can send you an email with whatever template / attachments that's needed. This could be achieved using a custom program / script or if you're using a Linux based machine, you can also configure postfix on the agent(s) and use mail / mailx commands. 

On Mon, May 4, 2020 at 10:12 PM Sunaina Awadhiya <s.saw...@gmail.com> wrote:
Hi Kritika,

Just curious to know if i can customize email notification default template and report can be accessed without GoCD credentials. we generate Html report in our application, is there any way to link such report.

Thanks and Regards,
Sunaina

On Mon, May 4, 2020 at 9:10 AM kritik...@thoughtworks.com <kritik...@thoughtworks.com> wrote:
Hey,


Thanks
Kritika

On Friday, May 1, 2020 at 9:48:34 PM UTC+5:30 s.saw...@gmail.com wrote:
I am looking for the step to follow for enabling email notification for one of GoCD pipeline, someone can please help

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go...@googlegroups.com.


--
Sunaina Awadhiya
Bangalore

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go...@googlegroups.com.


--

Ashwanth Kumar / ashwanthkumar.in

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go...@googlegroups.com.


--
Sunaina Awadhiya
Bangalore


--
Sunaina Awadhiya
Bangalore
Reply all
Reply to author
Forward
0 new messages