From 53453cfeac909fe5911310cc44b1d7d2fc9c5a86 Mon Sep 17 00:00:00 2001 From: Kamila Date: Tue, 3 May 2022 18:45:55 +0200 Subject: [PATCH] Task 2 Part 2 --- Jenkinsfile_eval | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile_eval b/Jenkinsfile_eval index 7b0b141..5f85da5 100644 --- a/Jenkinsfile_eval +++ b/Jenkinsfile_eval @@ -37,8 +37,7 @@ pipeline { post { always { - def metrics = readFile(file: 'current_results.txt') - emailext body: "${currentBuild.currentResult} ${metrics}", subject: 's444517_build_status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' + emailext body: "${currentBuild.currentResult} ${readFile(file: 'current_results.txt')}", subject: 's444517_build_status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' } } }