Hi everyone,
I'm working now in a better way to send a report by email because the
report i have now is a pretty useless because the only thing it sending is
a attatched report like this:
Ejecutando en el nodo principalen el espacio de trabajo
/home/locken/JENKINS_HOME/jobs/Nightly_LSA_Evolution_TESTS/workspace
No emails were triggered.
executing script 'Run_All_Nightly_Tests'
[workspace] $ /bin/sh /tmp/build_step_template6325968638781665777.sh
-------------------------------
Nightly.TC01 --> started!
---------> Step 01 OK!
---------> Step 02 OK!
---------> Steps 03 & 04 OK!
---------> Step 05 OK!
---------> Step 06 OK!
---------> Step 07 OK!
---------> Step 08 OK!
---------> Step 09 OK!
Nightly.TC01 --> OK!
-------------------------------
-------------------------------
Nightly.TC02 --> started!
---------> Step 01 OK!
---------> Step 02 OK!
---------> Steps 03 & 04 & 05 OK!
---------> Step 06 OK!
---------> Step 07 OK!
---------> Step 08 OK!
---------> Step 09 OK!
---------> Step 10 OK!
---------> Steps 11 & 12 OK!
---------> Step 13 OK!
---------> Step 14 OK!
Nightly.TC02 --> OK!
.
.
.
.
I'm using Editable Email Notificacion plugin but i don't know to use it in
a better way to create a mail with written the body with build.log and a
warning if the build was wrong or a check if it was fine
I'm using this script (thanks to zerozerounouno one more time!!!!!!!!)
// Fail for Java exceptions
if(manager.logContains(".*Exception in thread.*")) {
manager.addErrorBadge("Java exception")
manager.createSummary("warning.gif").appendText("<h3>Java exception
detected.</h3>", false, false, false, "red")
manager.buildFailure()
}
and it's working fine in order to know at the end if the job was OK or KO
but i want to add something like that in the email“s body
Thanks in advance
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/cdeda7d7-3698-4721-b28c-951f5570157b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.