Re: How to check inside Jenkins pipeline script if Ansible play-book succeeded or failed.

2020-04-02 Thread kalkin powale
Hi Shifa, I don't know if function ansiblePlaybook returns output or not. But, you can write the result of ansiblePlaybook in some text file. After completion of ansiblePlabook function, checks the status of the result from a text file. save the result as some variable "retVal". then in

Passing the vaiable to Email Extension plugin

2019-03-28 Thread kalkin powale
Hi All, I wish to send some parameter/ variable from the current build job to the Email template to send it in an email. I have saved my email template as Manage_Jenkins>> Managed_Files >> custom_groovy_Email.groovy in email template, I am trying to use it as follows Duration:

Re: location of email-ext template file

2019-03-27 Thread kalkin powale
Hi, I am using groovy scripts and I use this command after adding my template here config-file-provider plugin. and it worked fine. body: '''${SCRIPT, template="managed:custom_groovy_Email.groovy"}''', On Monday, 18 June 2018 09:04:02 UTC+2, Mani Agnihotri wrote: > > Hi, > > I know this is old