diff --git a/Jenkinsfile.eval b/Jenkinsfile.eval index e6f26b9..c41ead7 100644 --- a/Jenkinsfile.eval +++ b/Jenkinsfile.eval @@ -35,8 +35,8 @@ pipeline { sh 'python3 ./src/evalScript.py' archiveArtifacts 'trainResults.csv' script { - def metric = sh ( - script: 'trainResults.csv', + metric = sh ( + script: 'tail -1 trainResults.csv', returnStdout: true ).trim() }