diff --git a/Jenkins/Jenkinsfile.evaluation b/Jenkins/Jenkinsfile.evaluation index 74537e8..3247446 100644 --- a/Jenkins/Jenkinsfile.evaluation +++ b/Jenkins/Jenkinsfile.evaluation @@ -39,7 +39,6 @@ node { stage('Run script') { withEnv(["TEST_PARAMS=${params.TEST_PARAMS}", "BUILD_NR=${params.BUILD_NR}"]) { sh "rm neural_network_evaluation.csv" - sh "rm model/neural_net" sh "python3 Scripts/evaluate_neural_network.py $BUILD_NR $TEST_PARAMS" } } diff --git a/Jenkins/Jenkinsfile.training b/Jenkins/Jenkinsfile.training index c159cee..7e77c14 100644 --- a/Jenkins/Jenkinsfile.training +++ b/Jenkins/Jenkinsfile.training @@ -20,6 +20,7 @@ node { } stage('Run script') { withEnv(["TRAIN_PARAMS=${params.TRAIN_PARAMS}"]) { + sh "rm model/neural_net" sh "python3 Scripts/train_neural_network.py $TRAIN_PARAMS" } }