diff --git a/Jenkinsfile.eval b/Jenkinsfile.eval index 8b0d663..a026e28 100644 --- a/Jenkinsfile.eval +++ b/Jenkinsfile.eval @@ -34,10 +34,13 @@ pipeline { copyArtifacts projectName: "s444417-training/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true sh 'python3 ./src/evalScript.py' archiveArtifacts 'trainResults.csv' - metric = sh ( + script { + metric = sh ( script: 'trainResults.csv', returnStdout: true ).trim() + } + } } }