update jenkinsfile_train-sacred
All checks were successful
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head This commit looks good

This commit is contained in:
Maciej Czajka 2022-05-04 23:30:03 +02:00
parent 5dae3adb3a
commit 57131404c2

View File

@ -18,12 +18,7 @@ pipeline {
copyArtifacts filter: '*', projectName: 's444356-create-dataset' copyArtifacts filter: '*', projectName: 's444356-create-dataset'
sh 'python Biblioteka_DL/dllib-sacred.py with "epochs=$EPOCHS"' sh 'python Biblioteka_DL/dllib-sacred.py with "epochs=$EPOCHS"'
sh 'ls -al my_runs/1' sh 'ls -al my_runs/1'
sh 'cp my_runs/_sources/dllib* source_code.py'
sh 'cp my_runs/1/config.json configuration.json'
sh 'cp my_runs/1/info.json param.json'
sh 'cp my_runs/1/games_model.pkl model.pkl'
archiveArtifacts artifacts: 'games_model.pkl, source_code.py, configuration.json, param.json, model.pkl' archiveArtifacts artifacts: 'games_model.pkl, source_code.py, configuration.json, param.json, model.pkl'
sh 'rm -r my_runs'
build job: 's444356-evaluation/master/' build job: 's444356-evaluation/master/'
} }
} }