update jenkinsfile_train-sacred
This commit is contained in:
parent
094425a7af
commit
496a5073ad
@ -16,14 +16,13 @@ pipeline {
|
|||||||
stage('Script'){
|
stage('Script'){
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts filter: '*', projectName: 's444356-create-dataset'
|
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 'python Biblioteka_DL/dllib-sacred.py with "epochs=$EPOCHS"'
|
||||||
sh 'cp my_runs/_sources/dllib* source_code.py'
|
sh 'cp my_runs/_sources/dllib* source_code.py'
|
||||||
sh 'cp my_runs/1/config.json configuration.json'
|
sh 'cp my_runs/1/config.json configuration.json'
|
||||||
sh 'cp my_runs/1/info.json param.json'
|
sh 'cp my_runs/1/info.json param.json'
|
||||||
sh 'cp my_runs/1/games_model.pkl model.pkl'
|
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/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user