Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 67c2e109 authored by Nicolas's avatar Nicolas
Browse files

Change variable

parent ddd156da
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ node {
def result = readJSON text: RESULT_JSON
RESULT = sh (
RESULT_TEXT = sh (
script: 'docker exec contentmanager cat result.txt',
returnStdout: true
).trim()
......@@ -98,7 +98,7 @@ node {
subject: "Content Manager Pipeline Result",
to: "nicolasbejean@live.fr";
} catch (AssertionError e) {
mail body: "Bonjour,\n\nDes erreurs ont été trouvées, voici les résultats du pipeline :\n\n${result.totals}\n\n========================\n\nDetails : \n\n${RESULT}",
mail body: "Bonjour,\n\nDes erreurs ont été trouvées, voici les résultats du pipeline :\n\n${result.totals}\n\n========================\n\nDetails : \n\n${RESULT_TEXT}",
cc: '',
charset: 'UTF-8',
from: 'Jenkins <job@jenkins.bejean.eu>',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment