0
how to trigger for every build in Jenkins?

Solved 1 Answers 11 Views
I just installed Jenkins. I have all default plugins installed. I even configured the SMTP credentials and tried sending a test mail. All works fine now.

Now in post build step, I have an option to send an email. But, I can send email only when the build is failed or the build is back to normal. It does not have an option to allow me to send an email when build passes.

Kindly advise.

1 Answer

1
Best answer

It looks like you are using "E-mail Notification" option during post build step.

Follow below steps.

  • Click “Add post-build action”
  • Click “Editable Email Notification”
  • Click “Advanced Settings…”
  • Click “Add Trigger”
  • Click “Always”
  • Save

It should help.

answered 5 days ago by stbadmin (4,747 points)
selected 5 days ago by SunilBhaskar

Kindly Register and join the community of software testing professionals.

Notice:

We have recently moved our Question and Answer site from the domain name www.MayurShah.in to https://softwaretestingboard.com/qna as per the feedback from visitors.

For complete history of major changes, you can go to History

Site Status

  • que
  • ans
  • com
  • ua
  • us
  • Questions 817
  • Answers 738
  • Comments 464
  • Unanswered 126
  • Unselected 414
...