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

This commit is contained in:
AdamOsiowy123 2022-05-04 19:32:49 +02:00
parent f4a0241079
commit 25b46d08f9

View File

@ -33,12 +33,12 @@ node {
copyArtifacts filter: 'model/neural_net', projectName: "s444452-training/${BRANCH}/", selector: buildParameter('BUILD_SELECTOR')
}
stage('Run script') {
withEnv(["TEST_PARAMS=${params.TEST_PARAMS}", "BUILD_NR=${params.BUILD_SELECTOR}"]) {
sh "python3 Scripts/evaluate_neural_network.py $BUILD_NR $TEST_PARAMS"
withEnv(["TEST_PARAMS=${params.TEST_PARAMS}"]) {
sh "python3 Scripts/evaluate_neural_network.py 0 $TEST_PARAMS"
}
}
stage('Archive artifacts') {
archiveArtifacts "neural_network_evaluation.csv, evaluation.png", onlyIfSuccessful: true
archiveArtifacts "neural_network_evaluation.csv, evaluation.png"
}
}
} catch (e) {