fix eval
All checks were successful
s444417-training/pipeline/head This commit looks good
s444417-evaluation/pipeline/head This commit looks good

This commit is contained in:
s444417 2022-05-21 12:23:28 +02:00
parent 7e548f8e6c
commit 209efd905c

View File

@ -1,6 +1,9 @@
pipeline {
agent {
dockerfile true
docker {
image 'mikolajk/ium:mlflow'
args '-v /mlruns:/mlruns'
}
}
parameters{
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH'
@ -35,10 +38,10 @@ pipeline {
sh 'python3 ./src/evalScript.py'
archiveArtifacts 'trainResults.csv, metrics.png'
script {
metric = sh '''
metric = sh (
script: 'tail -1 trainResults.csv',
returnStdout: true
).trim()'''
).trim()
}
}