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' } } }