From 90f2fd68e9da1106420e9c9b408c5ca2fff8a451 Mon Sep 17 00:00:00 2001 From: Agata Date: Mon, 9 May 2022 10:12:51 +0200 Subject: [PATCH] Update Jenkinsfile --- training.Jenkinsfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/training.Jenkinsfile b/training.Jenkinsfile index d9f823b..8af0cc3 100644 --- a/training.Jenkinsfile +++ b/training.Jenkinsfile @@ -27,12 +27,7 @@ pipeline { steps { copyArtifacts filter: '*', projectName:'s444421-create-dataset', selector: buildParameter('BUILD_SELECTOR') sh 'ipython ./training_sacred.py with "epochs=$EPOCHS"' - sh 'mv my_runs/1/config.json config.json' - sh 'mv my_runs/1/model.pth model.pth' - sh 'mv my_runs/_sources/training* training_sacred.py' - sh 'mv my_runs/1/info.json info.json' - archiveArtifacts artifacts: 'config.json, model.pth, training_sacred.py, info.json' - sh 'rm -rf my_runs' + archiveArtifacts artifacts: 'my_runs/1/*, model.pth, my_runs/_sources/*' } } }