Thanks for all knowledge sharing Mukesh, you are doing world best work.
@Mukeshotwani3 жыл бұрын
Thank you mate
@chamanthuladeepika91163 жыл бұрын
thanks man for this detailed video...its really worth it
@Mukeshotwani3 жыл бұрын
Glad it was helpful! Thanks Deepika
@deepakrai51753 жыл бұрын
Thanks Mukesh , excellent video . Really helpful !
@reviewparknation12 күн бұрын
Thank you for the video. I want to attach the Allure report to the email for each build. I am using the Freestyle project. Is there any way to achieve this? Any suggestions?
@niranjankarri4482 жыл бұрын
Thanks Mukesh!!! Really helpful
@Mukeshotwani2 жыл бұрын
Always welcome Niranjan
@sathishKumar-rb2sv3 жыл бұрын
Thank you very much for your Email notification video, got it and done
@Mukeshotwani3 жыл бұрын
Great Sathish 👍
@ManuelJordan3173 жыл бұрын
Excellent video, a cold beer for you friend!
@Mukeshotwani3 жыл бұрын
Thank you Manuel Cheers!
@ManuelJordan3173 жыл бұрын
@@Mukeshotwani I am going to watch your complete playlist!
@roshnithakre97983 жыл бұрын
Hi Mukesh, Thanks u so much for making jenkins videos ,it is so helpful. Could you please upload one more video for how we can execute groovy scripts using jenkins
@Mukeshotwani3 жыл бұрын
Hi Roshni, Thank you so much. Yes, I have planned videos for Java, Python, JS and Groovy.
@kunalkabare13422 жыл бұрын
Hi Mukesh, Thanks for this video. It is helpful. I am trying to attach few reports from my Build Artefacts but unable to do it as by default directory in attachment option is the project workspace. Can you please help here on how I can navigate to that executed build artefacts from attachment option or any other solution to this. Thanks in advance..!
@kshitijvairale48773 жыл бұрын
Hello Mukesh Thanks for video I want to add extent report in the email body Is there any way to do so. I am successfully able to add it in attachment but not in body section
@Mukeshotwani3 жыл бұрын
Yes You can add extent report too as attachment, I will try to add videos.
@AnngrahDhar-yc9rg Жыл бұрын
I am not able to send mail to gmail through Jenkins My 2 step verification is off Allow less secure app option is not available anymore. What should I do now?
@Mukeshotwani Жыл бұрын
I have another video on this fix thie issue. You need to create app password for this now.
@amerkhan-kw8bi Жыл бұрын
@@Mukeshotwani can you please add link here for this issue so it will easy for us to refer and resolve this issue
@AbhijnanKundu8 ай бұрын
@@Mukeshotwani Can you please share this link?
@rajeshrj65383 жыл бұрын
Hi mukesh, My test configuration email is getting triggered, but post build email is not getting triggered. In logs it is showing mail is sent only. Not sure why. I' using a fresh account with less secure turned off only. Any idea?
@Mukeshotwani3 жыл бұрын
Hi Rajesh, have you applied same changes in ext email configuration?
@rajeshrj65383 жыл бұрын
@@Mukeshotwani Port number was wrong by mistake. Figured it out. Thank you mukesh
@zpytta Жыл бұрын
very very nice session
@Mukeshotwani Жыл бұрын
Thanks buddy there is some change in email configuration from google here is the video for the same kzbin.info/www/bejne/iqLMc3miiph0ebc
@saikumar-tp8pj3 жыл бұрын
Hi mukesh, In multibranch pipeline how to do post build action for email notification
@Mukeshotwani3 жыл бұрын
Hi Sai, good question. For multi branch pipeline you can still send email. You can use try catch finally in your jecnkins file. I have video on Jenkins file. Please watch the same. www.jenkins.io/doc/book/pipeline/syntax/#post-conditions node { stage('Example') { try { sh 'exit 1' } catch (exc) { echo 'Something failed, I should sound the klaxons!' throw } } }
@caffeinejavacode14753 жыл бұрын
Hello! How to do if I want to configure email notification for each teammate which run own pipeline on his brunch?
@AbhijnanKundu8 ай бұрын
I am unable to connect with gmail smtp using my email address and password. Looks like we can not change into Less Secure App anymore also. Is there any solution to still use smtp and gmail ?
@mohammadkhan-bg7fo2 ай бұрын
Same issue I’m facing too
@mohammadkhan-bg7fo2 ай бұрын
@Mukesh could you please help us ?
@Sravan5082 жыл бұрын
hi, In Extendable email notifications after enter port no it is not showing the smtp mail text box? it is showing credentials and add button jenkins credentials asking? how to add this?
@Mukeshotwani2 жыл бұрын
Please share screenshot to my email mukeshotwani@learn-automation.com
@truongnguyennhat89832 жыл бұрын
Same here, what should I do now? Thanks
@enesaydin73102 жыл бұрын
did you solve the problem?if you, please share with me
@swatimishra67813 жыл бұрын
How to setup build time stamp variable , I have setup but it's is not working in report part out is coming $build_timestap.html in report . Please help me
@yaseenbaba3389 Жыл бұрын
Hi Bro Google says : This setting is not available for your account for Less secure app access Any solution ?
@Arul-i6i23 күн бұрын
i am getting unable to find a certification path error in console what can i do now? I disabled two step factor authentication in my personal gmail account.
@Mukeshotwani23 күн бұрын
Hi Arul, now we have different way to send email via gmail. You need to generate app password for sending email.
@keerthivarudu87752 жыл бұрын
Hi Mukesh, I have configured Microsoft teams channel email address in jenkins job to trigger the build results notifications in Teams from Jenkins. In output I'm able to see thats its sending the mail to the given email addresses. But I could not see the results in Teams channel. Can you please help here.
@gaminiajay32153 жыл бұрын
Is it possible to upload build(APK in my case) from jenkins to Onedrive? In post build action?
@tamilkumaran4825 Жыл бұрын
Hi brother , I have exception while I click the build once it will not launch the browser it throw the exception sessionNotCreatedException .can you please help me for this issue
@harishshanigarapu61833 жыл бұрын
I'm looking for auto it implementation using maven dependency
@Mukeshotwani3 жыл бұрын
Hi Harish what is the requirment.
@harishshanigarapu61833 жыл бұрын
@@Mukeshotwani Hi Sir, Thank You for replying. I have to click on application which is there on my desktop and have to enter credentials I have added auto it dependency in pom.xml I just want to know how to write the script How do I get scite script editor Using the dependency
@franciscarol7031 Жыл бұрын
Hi Sir, I am facing the specified issue "Connection error sending email, retrying once more in 10 seconds... Connection error sending email, retrying once more in 10 seconds... Failed after second try sending email" please advise me on how to resolve this issue.
@shilpamaria8282 жыл бұрын
Hi Mukesh, is there anyway I can trigger mail from Jenkins based on a condition in shell script ( i.e when 1 website (from a list of sites) is down)
@Mukeshotwani2 жыл бұрын
Yes Shilpa, here is sample script Note- Assuming SMTP server is configured #!/bin/sh # # email a message # $1 = action # $2 = count # $3= user@myplace.com email_it() { echo "Action: $1 count: $2" | \ /usr/bin/mailx -s "Action notification" "$3" } if [ $action = "A" ] ; then email_it "ACTION WAS A" 42 "mukesh@some.com" else email_it "ACTION WAS B" 42 "otwani@some.com" fi
@ankitagarwal60143 жыл бұрын
Sir how can I monitor Jenkins? Also if there are any issues like memory full issue, disk space issue etc so I want a notification email for that. Can I get this from Jenkins?
@Account-fi1cu Жыл бұрын
is it possible to send emails in jenkins for successful checks that my exe is doing ? ie not just for builds
@mocanada3042 жыл бұрын
Gmail does not allow less secure apps anymore to access it using just username and password.
@shashiqa48692 жыл бұрын
you have to activate two verification and use app pwd in jenkin.
@sahilarya1187 Жыл бұрын
yes, same bro even i m also facing the same thing.
@aravindjuloori45013 жыл бұрын
Hi Mukesh, I have tried sending email from jenkins after running the job. I did the configuration as per the lecture and tried,After running the job in logs i see email sent but actually email is not coming. could you please help me on this issue
@shilpashravge80833 жыл бұрын
Thanks a lot for this ,👍
@albinks73203 жыл бұрын
Hi Mukesh, one question, I am not getting emails on post-build action, but got test mail while testing the configuration initially. Any idea ?
@sethu95183 жыл бұрын
Check if SMTP details(port dettails,smtp server details), email user details are correctly entered in Extended E-mail Notification and E-mail Notification section present in Manage Jenkins -> Configure System
@shashidhardevraj3 жыл бұрын
Hi Mukesh, Thanks for this video. I am trying to send an email with screenshots about pass and failed test cases. From your video I can send URLs. Any suggestions please
@medhunhashini29203 жыл бұрын
Hi Mukesh . My sending email was success in jenkins but i am not receiving in my mail... can you clear me this problem?
@Mukeshotwani3 жыл бұрын
Just extended email setting.
@ramchandramukkera58413 жыл бұрын
Hi Hashini, How you fix this issue ? For me also mail not sent to gmail.But build was success from Jenkins?
@ankitpanda47182 жыл бұрын
@@Mukeshotwani What does it mean. i already did all configuration. still its not working Help me out
@amrutansubej50292 жыл бұрын
In the console I can see email triggered is success but still mail is not sent. Test mail was sent successfully. Any suggestions?
@bhagyashreegade2 жыл бұрын
try to add the same credentials(as you used in email Notification) in Extended email notification.
@abhaydeshpande32392 жыл бұрын
Not able to set Username and Password for Extended Email Notification section. Please help me.
@akashbhatt32233 жыл бұрын
Hi Mukhesh, Firstly thanks for the video.Recently I was trying to replicate the same in corporate network with their own smtp server and port,while testing configuration it throws error:sun.security.provider.certpath.SunCertPathBuilderException:unable to find valid certification path to requested target. Could you please help me to troublshoot this issue? Best Regards, Akash
@varunasthana16303 жыл бұрын
Hello Mukesh, I am unable to send email from Jenkins. Please help. I have followed your instructions for Google account but I think I am unable to turn off 2-Step verification setting. Please help. Thanks, Varun
@Mukeshotwani3 жыл бұрын
Hi Varun, please try with new account (fresh).
@rajeshrj65383 жыл бұрын
We can also create application password in the google security settings and use that generated password instead of your actual password. That will work even with 2 factor authentication
@sg8nj3 ай бұрын
Nice 😎
@Mukeshotwani3 ай бұрын
Thanks mate
@AD_Shine Жыл бұрын
How can we make 3 different Jenkins jobs reply to same email (or 3 e-mails on same mail thread) ?
@muldon22 жыл бұрын
the post-build action section is not being showed in the newest version :/
@Mukeshotwani2 жыл бұрын
Is it ? Let me check ✅
@muldon22 жыл бұрын
Actually I figured It does not show in pipeline project..
@Mukeshotwani2 жыл бұрын
@@muldon2 yes in pipeline you can add post build actions as pipeline code
@amazontrends6933 Жыл бұрын
@@Mukeshotwanican explain how to do in the pipeline job
@andrewarun20093 жыл бұрын
How to mention failed test cases names in jenkins email subject? UFT is my testing tool
@anusha90392 жыл бұрын
hii bro at present less secure app is not avilable..how should i
@amrutansubej50292 жыл бұрын
Use App password
@mrwiltofficial2 жыл бұрын
Chrome: Google Account -> Manage Your Google Account -> Security -> App Password (Select app = mail and Select device = Windows Computer)
@poojashetty12902 жыл бұрын
@@mrwiltofficial after generating app password what to do next ?
@anilyadav-ln8qu Жыл бұрын
@@mrwiltofficial thank bro for suggestion and it's working
@anilyadav-ln8qu Жыл бұрын
@@poojashetty1290 copy the password and paste its at password place
@rajendramahapatra32933 жыл бұрын
Can you please upload a video how we can send email by attaching HTML report (TestNG Report, Extent Report) in the email body?
@Mukeshotwani3 жыл бұрын
Yes Rajendra, will do that for sure.
@sedhu81723 жыл бұрын
Sir, why u are not uploading video on Jenkins for last 3days
@Mukeshotwani3 жыл бұрын
will upload today at 7
@shakiba42912 жыл бұрын
Less secure app access Some apps and devices use less secure sign-in technology, which makes your account vulnerable. You can turn off access for these apps, which we recommend, or turn it on if you want to use them despite the risks. Google will automatically turn this setting OFF if it’s not being used. This setting is no longer available.
@skincareroutine76092 жыл бұрын
What is solution for it ?
@abhilasha1289 Жыл бұрын
Where is the first example where you created job? Please provide link
@Kolipakulajsvscprabhunathbunty3 жыл бұрын
Getting authentication error while testing, given allow accees permission!!...
@Mukeshotwani3 жыл бұрын
Hi Prabhunath, please try with new gmail account.
@educationalgeeks59993 жыл бұрын
Sir do one Vedio on how to install Tomcat in Linux server
@cloudarchitect44243 жыл бұрын
How to enable Use TLS option in Extended Email Configuration?
@naveenvasimalla66082 жыл бұрын
could you explain how can i setup in zoho mail
@ЯрославПолищук-ю7ж2 ай бұрын
how do I can to do this in script?
@Mukeshotwani2 ай бұрын
Yes do you mean by pipeline script?
@uhsay19862 жыл бұрын
To help keep your account secure, from May 30, 2022, Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.
@OtakuChamber2 жыл бұрын
you need to turn on 2factor authentication , followed by generating app password , use that generated app password instead of original mail password in Jenkins configuration and it will work. I tried it , it's working
@ikechukwujerome73572 жыл бұрын
@@OtakuChamber When i set this up in gmail and run the "Test configuration", the connection keeps timing out on my Jenkins. Any opinions on how to resolve this?
@aqua7vita2 жыл бұрын
@@OtakuChamber Thank you so much for this help!
@muldon22 жыл бұрын
@@OtakuChamber thanks man, it worked !
@avtarsinghsangar8623 Жыл бұрын
hello Bro can you please share your job or link for that video?
@katlinsage93712 жыл бұрын
*Does this tool require smtp.?*
@matrixtechnology23763 ай бұрын
thank you
@Mukeshotwani3 ай бұрын
You're welcome
@rajwedhikar29554 ай бұрын
thanks!
@Mukeshotwani4 ай бұрын
Welcome!
@ambikajiroli54413 жыл бұрын
While testing I am getting error "failed to send email"
@GoaUk3652 жыл бұрын
1)Make sure MFA of Gmail is turned off 2)Go to - Gmail Manage you Google Account - Security tab- Less secure app access - click on ON . Less secure app access Some apps and devices use less secure sign-in technology, which makes your account vulnerable. You can turn off access for these apps, which we recommend, or turn it on if you want to use them despite the risks. Google will automatically turn this setting OFF if it’s not being used. Learn more Allow less secure apps: ON I Had the same issue but now its working by using above steps.
@mrmadang1233 жыл бұрын
I solved the issue by upgrading token macro
@Mukeshotwani3 жыл бұрын
Awesome Madan
@pundlamahesh7 ай бұрын
How to get only failed testcase names via email through jenkins
@Mukeshotwani7 ай бұрын
If you are using extent report then u can use filter
@educationalgeeks59993 жыл бұрын
Tq tq tq you Sir
@gadgetttololilola89242 жыл бұрын
But how to attach report file to email?
@JogosEtudoMais3 жыл бұрын
💯💯
@ambikajiroli54413 жыл бұрын
Hi Mukesh which password we need enter
@GoaUk3652 жыл бұрын
Please use your email Password
@SaikatDas-h9f Жыл бұрын
How to connect with office mails?
@Mukeshotwani Жыл бұрын
You can get office SMTP server details and you can use the same.
@sravanigundepalli351310 ай бұрын
@@Mukeshotwani from where??
@Mukeshotwani10 ай бұрын
@@sravanigundepalli3513 Hi Sravani, please connect with your IT team and explain your use case and request for SMTP server details.
@mrmadang1233 жыл бұрын
Hi Mukesh, I am able to get email but, it not sending project name, just sending $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS! in subject, please suggest
@Mukeshotwani3 жыл бұрын
Thanks Madan sometimes if jenkins version is not updated or plugin is not updated which can build such issues. Thanks once again for following series.
@anilyadav-ln8qu Жыл бұрын
I'm facing problem sir ...plz help me ASAP C:\ProgramData\Jenkins\.jenkins\workspace\Mullti receipt email>mvn -version 'mvn' is not recognized as an internal or external command
@supriyaghatol6493 Жыл бұрын
'mvn' is not recognized as an internal or external command is getting because Apache Maven is not install on your system
@SandeepSingh-hn6it Жыл бұрын
may restart your jenkins using go into cmd command prompt through admin and then: user command : net stop jenkins and net start jenkins