metric fix
This commit is contained in:
parent
ee8c2808d1
commit
436ae7baf2
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user