Raghav - Good video set by the way !!. It would be beneficial for your students if you add Github hooks on build initiation which is commonly used in the industry.
Hello there, how are you? I have a question regarding the attatchments, how does it work in Poll Mailbox Trigger? I do not know how to find the attatchments, thank you so much
Hello Raghav, thanks for putting up such a helpful series of videos on jenkins, Could you please add or refer to some videos on test specific jobs, where we could confgure the job pass criteria, based on pass rate etc.
Connecting to the mailbox... Error : javax.mail.AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure) im getting this error
@@RaghavPal you are awesome teacher or trainer of automation.... Really I like your channel. Love your all videos. If you can add sonarqube and Gerrit then I'll be thankful for you
Hi Raghav, can you please tell me how to download the attachment using Poll Mailbox Trigger Plugin? I have tried the Attachment option but it is not working. Thank you in advance.
Hi Ankit, I checked, there are several links for this th-cam.com/video/jh7utASgKj4/w-d-xo.html docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins www.evoketechnologies.com/blog/sonarqube-integration-jenkins-pipelines/ www.tothenew.com/blog/integrating-sonarqube-with-jenkins/
hi Raghav, I am facing a lot of errors and issues in setting up email-triggers, even in the earlier video too. I spent hours on the internet to solve it but can't. kindly help as this is the last topic left for the tutorial to finish
Automation Step by Step - Raghav Pal javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target These are the errors and i am not using vpn or proxy
Hi Vedansh, check if this helps www.mastertheboss.com/cool-stuff/jenkins/solving-jenkins-sslhandshakeexception support.cloudbees.com/hc/en-us/articles/217078498-PKIX-path-building-failed-error-message stackoverflow.com/questions/24563694/jenkins-unable-to-find-valid-certification-path-to-requested-target-error-whil
Hi Prashanth, this should trigger the jobs as configured, However I have not tried it, you can give it a try. github.com/jenkinsci/poll-mailbox-trigger-plugin Moreover, if your need is to trigger 2 jobs, you can also configure the other job to be triggered after 1st job
Hi Raghav...Really Great video.I tried the same step as you explained it was worked in free style project, where as its not working in pipeline project (i have followed same steps in pipeline project).Can you please guide me how to trigger the pipeline project using "Poll Mail Box" if possible. Thanks...
Hi Ragahv, thanks for your tutorials. I have successfully configured and tested Poll Mailbox Trigger Plugin. Only one question. If the mail remains in the mailbox then it will again trigger as per cron schedule. How to stop the same.
HI Raghav, thanks for the video! It is very helpful! I have one question for you buddy, is it possible to reply to the email address that triggered the job? I'd like to reply to it attaching an artifact generated by the job (e.g. a report file)
Hi Max, yes you can, there are email notification plugins in Jenkins that you can check - th-cam.com/video/DULs4Wq4xMg/w-d-xo.html wiki.jenkins.io/display/JENKINS/Email-ext+plugin
Hi Raghav I need some clarification.can we customise our email notification in jenkins.if it's there means can u share that link.how to customise email notifications???
Hi Ragahv, Thank you very much for your tutorials. The way of your explanation is excellent. Only one thing I am looking is do we have any documnetation for these tutorials. If there please share the path or website that would be really helpful for revision especially when attending interviews.
Hi .. I am getting a connection refusal error. What am i doing wrong here ? . I can see there is no option for smtp as i want to poll mail trough my smtp email
Through email??? If we send one email and three nodes are configured with same subject so it should trigger three build at the same time??? Its not working for us..
Hi Suresh, I could not find any such settings in the plugin parameters. I see you have posted this on StackOverflow stackoverflow.com/questions/51320705/jenkins-poll-mailbox-trigger Lets wait if some one replies. Do let me know
Just a thought, one of the workarounds may be to use a domain where there are restrictions and only accepts mails from a group of people. Yout IT team should be able to do that
Automation Step by Step - Raghav Pal hi Raghav, how do we take the parameter from email body. I could see that you have given the parameter as Name=Raghav , but in my case the parameter in the body will be like Name:Raghav(it is colon not the equals, how does it work any help on this ??)
Hi Raghav, Thanks for this video and this is very informative. However, I would like to know how do we take the parameter from email body. I could see that you have given the parameter as Name=Raghav , but in my case the parameter in the body will be like Name:Raghav(it is colon not the equals, how does it work any help on this ??)
Hi Raghav, I have installed this plugin and it worked fine earlier. But now actually it stopped working. Where the plug is able to read the mail box and I could see the match found message on Jenkins, but it couldn’t trigger the job automatically. Are there any settings which I am missing and need to be configured as global settings. Please help and thanks in advance.
@@RaghavPal Generally, my office365 outlook account is Azure AD based i.e work account, so i gets a authentication failure when ever I try to connect, can you provide me some solution, also does this plugin monitor outbox/sent items??
Here are some points 1. Authentication Failure with Office 365 (Azure AD): - When configuring email notifications in Jenkins, you'll need to provide SMTP server details. For Office 365 (Azure AD) accounts, follow these steps: - Go to Manage Jenkins > Configure System. - Scroll down to the E-mail Notification section. - Configure the SMTP details: - SMTP server: Set it to `"smtp.office365.com"`. - Port: Use port `587`. - Use SSL: Uncheck this option. - Use TLS: Check this option. - SMTP Authentication: Provide your Office 365 email address and password. - If you encounter authentication issues, ensure that your Office 365 account allows SMTP access and that you're using the correct credentials. 2. Monitoring Outbox/Sent Items: - By default, Jenkins doesn't directly monitor your email client's outbox or sent items. - However, you can configure Jenkins to send emails based on build status (success/failure) or other triggers. - Jenkins will send emails to the recipients you specify in the job configuration. - If you want to track sent emails, consider using a separate tool (like an email client or monitoring software) to monitor your email account's sent items. 3. Testing Email Configuration: - After configuring your email settings, use the Test Configuration button in Jenkins to verify that emails are being sent successfully. - Jenkins will send a test email to the specified recipients. 4. Additional Tips: - If you encounter issues, check your firewall settings to ensure that Jenkins can connect to the SMTP server. - Consider using an App Password for SMTP authentication if your Office 365 account has multi-factor authentication (MFA) enabled. Remember to adjust the SMTP settings according to your Office 365 account details. Once configured, Jenkins will send email notifications based on your job configurations.
HI Amar, If you look at this section th-cam.com/video/DWlAQe57uz8/w-d-xo.html , When you goto advanced there is a field to set schedule, Here you can provide a cron expression for setting the interval. You can set it to check after every 1 min, 5 min or as per your need
@@RaghavPal yes Raghav I set it for 1 min only.. Sometimes it is working awesome but sometimes not.. It is able to find the mail but the job is not getting triggered..
Really a great explanation... i would request you, if you can post a video for how to write a jenkins file for the same process .
I will do that Mitesh
Hello Raghav, Thanks for video. Really Helpful
Hi Ashish, most welcome
Great sir thanks for making video 🔥🔥
Most welcome Shubham
Raghav - Good video set by the way !!. It would be beneficial for your students if you add Github hooks on build initiation which is commonly used in the industry.
Thanks Jonas, taken your feedback. will add.
Thank you, Ragahv, for your explanation.
Most welcome Denis
HI ,Thank you so much for such nice explanation .
You are welcome Suchi
Wonderful videos. I finished the list and will go through other list. Helped a lot!!!
Glad to know this Nancy. Best wishes
Hello there, how are you?
I have a question regarding the attatchments, how does it work in Poll Mailbox Trigger? I do not know how to find the attatchments, thank you so much
Hi Isaac, I will try to do a session
@@RaghavPal That would be really helpfull, I am looking forward for it, thanks.
Hello Raghav, thanks for putting up such a helpful series of videos on jenkins, Could you please add or refer to some videos on test specific jobs, where we could confgure the job pass criteria, based on pass rate etc.
Hi Sam, is this something similar you are looking for - learn2automate.blog/2017/05/19/how-to-set-jenkins-job-status-based-on-test-case-pass/
Thanks for the clear explanation.
Question : If the build fails then how should we proceed or how to fix.
Thanks in advance.
will need to check the logs or reports
Connecting to the mailbox...
Error : javax.mail.AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
im getting this error
Hi Hari, You need to provide your credentials in jenkins. Check th-cam.com/video/mGXGIOpKAos/w-d-xo.html
@@RaghavPal yeah added now in credentials and facing same error. do i need to configure anything in gmail ?
In Gmail you should set allow less secure apps in settings. Use a test gmail account.
Thank you sir
It is very informative
Thanks for watching
awesome ! Thank you for the video
You're welcome Rahul
really helpful video. please do video on basic python scripting required for devops. thankyou
Sure Gopi, will note this
Sonarqube tutorials are not available here please if you can add please add and Gerrit also
Sure Jitendra, will check on this
@@RaghavPal you are awesome teacher or trainer of automation.... Really I like your channel. Love your all videos. If you can add sonarqube and Gerrit then I'll be thankful for you
Hi Raghav.. Please make a video on master and slave in Jenkins..
Thank you..
Hi Amar, will take this up in some time
@@RaghavPal thank you Raghav
Hi Raghav,
can you please tell me how to download the attachment using Poll Mailbox Trigger Plugin?
I have tried the Attachment option but it is not working.
Thank you in advance.
Hi Pankaj, I will plan a session, for now will need to check online examples
@@RaghavPal Thank you, Raghav. That would be really helpful. So many peoples are facing the same problem but there is no solution for this problem.
Hello, thanx for the wonderful information. Can you tell me how can I configured it for office 365
Hi Swapnil, have you tried, let me know what issues you faced, I will check more on this
@@RaghavPal yes Raghav I have been trying this since 1 month, but not yet succeed. Is this because of two factor authentication?
Hi Raghav
Kindly create a video on how to configure SonarQube on Jenkins and generate a reports from scratch.
Thanks
I will try to do this Ankit
@@RaghavPal yes sir please we are having urgent requirement so meanwhile can you share some important link to refer.
Hi Ankit, I checked, there are several links for this
th-cam.com/video/jh7utASgKj4/w-d-xo.html
docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
www.evoketechnologies.com/blog/sonarqube-integration-jenkins-pipelines/
www.tothenew.com/blog/integrating-sonarqube-with-jenkins/
hi Raghav,
I am facing a lot of errors and issues in setting up email-triggers, even in the earlier video too. I spent hours on the internet to solve it but can't.
kindly help as this is the last topic left for the tutorial to finish
can you help with team viewer
Hi Vesansh, what exactly is the error, Are you inside company VPN or using proxy.
Automation Step by Step - Raghav Pal
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
These are the errors and i am not using vpn or proxy
Hi Vedansh, check if this helps
www.mastertheboss.com/cool-stuff/jenkins/solving-jenkins-sslhandshakeexception
support.cloudbees.com/hc/en-us/articles/217078498-PKIX-path-building-failed-error-message
stackoverflow.com/questions/24563694/jenkins-unable-to-find-valid-certification-path-to-requested-target-error-whil
Automation Step by Step - Raghav Pal i already checked these links but they’re not helping 🥺🥺
Hi Raghav, Can we trigger multiple jobs by sending a single e-mail assuming both the jobs have same configurations
Hi Prashanth, this should trigger the jobs as configured, However I have not tried it, you can give it a try.
github.com/jenkinsci/poll-mailbox-trigger-plugin
Moreover, if your need is to trigger 2 jobs, you can also configure the other job to be triggered after 1st job
Hi Raghav...Really Great video.I tried the same step as you explained it was worked in free style project, where as its not working in pipeline project (i have followed same steps in pipeline project).Can you please guide me how to trigger the pipeline project using "Poll Mail Box" if possible. Thanks...
Hi Vijay, Pls check the logs, will need more information to troubleshoot this.
thanks for the video it was really useful!
1 question, how can you recieve (download) the attached files in the triggering emails?
Hi Riese, I will need to check on this. Try looking at online examples
how to read the email content ?
In execute windows batch command if i write -- echo "%pmt_content%" its not working
Hi Tusar, you can try following syntax
Windows - %parametername%
*nux/mac - $parametername
${parametername}
"${parametername}"
Hi Ragahv, thanks for your tutorials. I have successfully configured and tested Poll Mailbox Trigger Plugin. Only one question. If the mail remains in the mailbox then it will again trigger as per cron schedule. How to stop the same.
Hi Kaushik, once it reads an email it marks is as read so it does not process it again. Pls check github.com/jenkinsci/poll-mailbox-trigger-plugin
Awesome video ,its very use full
Glad to know this Tapas
HI Raghav, thanks for the video! It is very helpful! I have one question for you buddy, is it possible to reply to the email address that triggered the job? I'd like to reply to it attaching an artifact generated by the job (e.g. a report file)
Hi Max, yes you can, there are email notification plugins in Jenkins that you can check - th-cam.com/video/DULs4Wq4xMg/w-d-xo.html
wiki.jenkins.io/display/JENKINS/Email-ext+plugin
Hi Raghav I need some clarification.can we customise our email notification in jenkins.if it's there means can u share that link.how to customise email notifications???
Hi Tamil, you can check this - th-cam.com/video/DULs4Wq4xMg/w-d-xo.html
And there are other email plugins on jenkins that you can try
I have a problem with the Password in the E-mail Notification (manage jenkins) it change when saving the right password ? how do I fix this ?
Hi Khaled, I did not completely get your issue, What does the logs say
Hi Ragahv,
Thank you very much for your tutorials. The way of your explanation is excellent. Only one thing I am looking is do we have any documnetation for these tutorials. If there please share the path or website that would be really helpful for revision especially when attending interviews.
Hi Prabhakar, I have added all notes in the Description section below the video. You can also check all here - automationstepbystep.com/
Hi .. I am getting a connection refusal error. What am i doing wrong here ? . I can see there is no option for smtp as i want to poll mail trough my smtp email
Hi Monty, do you have any error details or logs. Pls check all the steps as mentioned in the video.
Is it possible to run multiple nodes at the same time wherein all nodes have configured for same subject?
Yes Sonam, you can run multiple nodes at same time
Through email???
If we send one email and three nodes are configured with same subject so it should trigger three build at the same time???
Its not working for us..
will need to check and understand the details of setup and scenario
Hi Raghav,
can we add emailids filter in this plugin who can only have access to send email for triggring jenkins job??
pls revert
Hi Suresh, I could not find any such settings in the plugin parameters. I see you have posted this on StackOverflow
stackoverflow.com/questions/51320705/jenkins-poll-mailbox-trigger
Lets wait if some one replies. Do let me know
sure raghav!!
Just a thought, one of the workarounds may be to use a domain where there are restrictions and only accepts mails from a group of people. Yout IT team should be able to do that
Automation Step by Step - Raghav Pal hi Raghav, how do we take the parameter from email body.
I could see that you have given the parameter as Name=Raghav , but in my case the parameter in the body will be like Name:Raghav(it is colon not the equals, how does it work any help on this ??)
Hi Raghav , i had one doubt on which email id we should send mail ?
Hi Sanyogita, you can use any test email. Process is shown in the video
Hi Raghav,
Thanks for this video and this is very informative. However, I would like to know how do we take the parameter from email body.
I could see that you have given the parameter as Name=Raghav , but in my case the parameter in the body will be like Name:Raghav(it is colon not the equals, how does it work any help on this ??)
Hi Kumar, I replied you over email
Hi Raghav, I have installed this plugin and it worked fine earlier. But now actually it stopped working. Where the plug is able to read the mail box and I could see the match found message on Jenkins, but it couldn’t trigger the job automatically. Are there any settings which I am missing and need to be configured as global settings.
Please help and thanks in advance.
Facing a problem with office365, could not connect,can any one help me??
will need details
@@RaghavPal Generally, my office365 outlook account is Azure AD based i.e work account, so i gets a authentication failure when ever I try to connect, can you provide me some solution, also does this plugin monitor outbox/sent items??
Here are some points
1. Authentication Failure with Office 365 (Azure AD):
- When configuring email notifications in Jenkins, you'll need to provide SMTP server details. For Office 365 (Azure AD) accounts, follow these steps:
- Go to Manage Jenkins > Configure System.
- Scroll down to the E-mail Notification section.
- Configure the SMTP details:
- SMTP server: Set it to `"smtp.office365.com"`.
- Port: Use port `587`.
- Use SSL: Uncheck this option.
- Use TLS: Check this option.
- SMTP Authentication: Provide your Office 365 email address and password.
- If you encounter authentication issues, ensure that your Office 365 account allows SMTP access and that you're using the correct credentials.
2. Monitoring Outbox/Sent Items:
- By default, Jenkins doesn't directly monitor your email client's outbox or sent items.
- However, you can configure Jenkins to send emails based on build status (success/failure) or other triggers.
- Jenkins will send emails to the recipients you specify in the job configuration.
- If you want to track sent emails, consider using a separate tool (like an email client or monitoring software) to monitor your email account's sent items.
3. Testing Email Configuration:
- After configuring your email settings, use the Test Configuration button in Jenkins to verify that emails are being sent successfully.
- Jenkins will send a test email to the specified recipients.
4. Additional Tips:
- If you encounter issues, check your firewall settings to ensure that Jenkins can connect to the SMTP server.
- Consider using an App Password for SMTP authentication if your Office 365 account has multi-factor authentication (MFA) enabled.
Remember to adjust the SMTP settings according to your Office 365 account details. Once configured, Jenkins will send email notifications based on your job configurations.
Hi Raghav,
Polling is working but very late.. If I receive mail now job is running after 40 mins some times after 1hour.
Please suggest the solution
HI Amar, If you look at this section th-cam.com/video/DWlAQe57uz8/w-d-xo.html , When you goto advanced there is a field to set schedule, Here you can provide a cron expression for setting the interval. You can set it to check after every 1 min, 5 min or as per your need
@@RaghavPal yes Raghav I set it for 1 min only..
Sometimes it is working awesome but sometimes not..
It is able to find the mail but the job is not getting triggered..
This is strange Amar, not sure if there is some network issues you might be facing.
HTTP ERROR 403 No valid crumb was included in the request
Hi Sachin, check this
github.com/spinnaker/spinnaker/issues/2067
Hi Raghav need your help not able to run my project through jenkins
Hi Shreyas, pls tell me the issue in detail with logs if you have