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