metric fix
This commit is contained in:
parent
436ae7baf2
commit
adbd3f47fd
@ -34,10 +34,13 @@ pipeline {
|
|||||||
copyArtifacts projectName: "s444417-training/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true
|
copyArtifacts projectName: "s444417-training/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true
|
||||||
sh 'python3 ./src/evalScript.py'
|
sh 'python3 ./src/evalScript.py'
|
||||||
archiveArtifacts 'trainResults.csv'
|
archiveArtifacts 'trainResults.csv'
|
||||||
metric = sh (
|
script {
|
||||||
|
metric = sh (
|
||||||
script: 'trainResults.csv',
|
script: 'trainResults.csv',
|
||||||
returnStdout: true
|
returnStdout: true
|
||||||
).trim()
|
).trim()
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user