I want to configure the use of ext-mail plugin.
I want to be able to send mail to developer where is the result of findbug,
codenarc, cobertura and sonar.
Is it possible?
I have googled for a long time and I found that the use of jelly script can
help.
I don't have any idea how can I do that.
Any idea, example can help.
thank you very much
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3422211.html
Sent from the Jenkins users mailing list archive at Nabble.com.
That does not work:
the console output give this error:
ERROR: Could not send email as a part of the post-build publishers.
java.lang.NullPointerException
at java.util.regex.Matcher.quoteReplacement(Matcher.java:598)
at
hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:63)
at
hudson.plugins.emailext.ExtendedEmailPublisher.setSubject(ExtendedEmailPublisher.java:310)
at
hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:255)
at
hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:213)
at
hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:205)
at
hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:166)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:622)
at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601)
at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:579)
at hudson.model.Build$RunnerImpl.cleanUp(Build.java:165)
at hudson.model.Run.run(Run.java:1405)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Finished: FAILURE
In the jelly, there is many type of analyse, how can I specify that I want
cobertura.
I don't understand if the steps above are correct or not.
Thank you
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3422390.html
I have extended the html report a bit with build health and cobertura
coverage, see:
https://github.com/mfriedenhagen/hudson-email-ext-jelly-templates/blob/master/html-with-health-and-console.jelly
Regards
Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/
What should I do?
Can you explain me the steps to follow.
Many thankx
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3422594.html
Email was triggered for: Failure
Sending email for trigger: Failure
Please any help
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3422645.html
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3422699.html
1. copy the example given by Marko (thank you).
2. place it under the templates dir
3. Create a cobertura job and in the "post buuild Actions", I have chosen
"Editable mail notifications"
in this section, in the DEFAUNT_CONTENT part, i put "${JELLY_SCRIPT,
template="html-with-health-and-console"} "
That is correct or not.
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3422709.html
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3423086.html
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3424756.html
JellyException: Could not parse Jelly script : null
How to resolve this problem
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3425347.html
In the console I have this:
Email was triggered for: Failure
Sending email for trigger: Failure
Sending email to: us...@company.com
Finished: FAILURE
But I receive nothing.
any idea
thank you
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3433243.html
--
slide-o-blog
http://slide-o-blog.blogspot.com/
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3433339.html
--
slide-o-blog
http://slide-o-blog.blogspot.com/
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3433448.html
--
slide-o-blog
http://slide-o-blog.blogspot.com/
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3433801.html
Richard.
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3435813.html
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3438011.html
Manuel
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3438026.html
=> This the mail that I have received from hudson
--
View this message in context: http://jenkins.361315.n4.nabble.com/how-to-configure-ext-mail-tp3422211p3438768.html
That means your jelly script has an error in it, there is not currently an easy way to debug that I have found. You just need to simplify it and start adding stuff back in.