update jenkinsfile_train-sacred
Some checks failed
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head There was a failure building this commit

This commit is contained in:
Maciej Czajka 2022-05-04 22:00:12 +02:00
parent c039177b95
commit 1c1c4f1683

View File

@ -17,10 +17,11 @@ pipeline {
steps { steps {
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' sh 'cp my_runs/_sources/dllib-sacred_9b4efa30e286ba360857813ed7ad415c.py source_code.py'
sh 'ls -al my_runs/1' sh 'cp my_runs/1/config.json configuration.json'
sh 'ls -al my_runs/_sources' sh 'cp my_runs/1/info.json param.json'
archiveArtifacts artifacts: 'games_model.pkl, my_runs' sh 'cp my_runs/1/games_model.pkl model.pkl'
archiveArtifacts artifacts: 'games_model.pkl, source_code.py, configuration.json, param.json, model.pkl'
build job: 's444356-evaluation/master/' build job: 's444356-evaluation/master/'
} }
} }