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 23:06:03 +02:00
parent 094425a7af
commit 496a5073ad

View File

@ -16,14 +16,13 @@ pipeline {
stage('Script'){
steps {
copyArtifacts filter: '*', projectName: 's444356-create-dataset'
sh 'rm my_runs/_sources/dllib*'
sh 'rm my_runs/1/info.json'
sh 'python Biblioteka_DL/dllib-sacred.py with "epochs=$EPOCHS"'
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'
sh 'rm -r my_runs'
build job: 's444356-evaluation/master/'
}
}