From 25b46d08f92c646f0e766981d637c833d4acceca Mon Sep 17 00:00:00 2001 From: AdamOsiowy123 Date: Wed, 4 May 2022 19:32:49 +0200 Subject: [PATCH] fix --- Jenkins/Jenkinsfile.evaluation | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkins/Jenkinsfile.evaluation b/Jenkins/Jenkinsfile.evaluation index eb6bb16..3923c76 100644 --- a/Jenkins/Jenkinsfile.evaluation +++ b/Jenkins/Jenkinsfile.evaluation @@ -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) {