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) {