From af70e51b910b239ab6883bc2e592254bf4b85f45 Mon Sep 17 00:00:00 2001 From: AdamOsiowy123 Date: Mon, 16 May 2022 08:29:22 +0200 Subject: [PATCH] fix eval --- Jenkins/Jenkinsfile.evaluation | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkins/Jenkinsfile.evaluation b/Jenkins/Jenkinsfile.evaluation index 217ac4a..2be21dd 100644 --- a/Jenkins/Jenkinsfile.evaluation +++ b/Jenkins/Jenkinsfile.evaluation @@ -59,12 +59,14 @@ node { stage('Run script') { withEnv(["BUILD_NR=${params.BUILD_NR}","DATA_PATH=${params.DATA_PATH}","EPOCHS=${params.EPOCHS}", "NUM_WORDS=${params.NUM_WORDS}", "BATCH_SIZE=${params.BATCH_SIZE}","PAD_LENGTH=${params.PAD_LENGTH}"]) { + sh "chmod u+x Scripts/evaluate_neural_network.py" sh "python3 Scripts/evaluate_neural_network.py $BUILD_NR $DATA_PATH $EPOCHS $NUM_WORDS $BATCH_SIZE $PAD_LENGTH" } } stage('Archive artifacts') { archiveArtifacts "neural_network_evaluation.csv, evaluation.png" archiveArtifacts "my_runs/**" + archiveArtifacts "mlruns/**" } } } catch (e) {