From c172e81c886721842149c1101797f24d6288f460 Mon Sep 17 00:00:00 2001 From: AdamOsiowy123 Date: Sun, 15 May 2022 23:26:07 +0200 Subject: [PATCH] mlflow fix7 --- Jenkins/Jenkinsfile.training | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkins/Jenkinsfile.training b/Jenkins/Jenkinsfile.training index 04a4fb6..9dbba3a 100644 --- a/Jenkins/Jenkinsfile.training +++ b/Jenkins/Jenkinsfile.training @@ -41,7 +41,7 @@ node { stage('Run script') { withEnv(["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 +x Scripts/train_neural_network.py" + sh "chmod u+x Scripts/train_neural_network.py" sh "python3 Scripts/train_neural_network.py $DATA_PATH $EPOCHS $NUM_WORDS $BATCH_SIZE $PAD_LENGTH" } } @@ -49,8 +49,6 @@ node { archiveArtifacts "model/neural_net" archiveArtifacts "my_runs/**" archiveArtifacts "mlruns/**" - archiveArtifacts "/mlruns/**" - archiveArtifacts "/code/mlruns/**" } } } catch (e) {