Zaktualizuj 'Jenkinsfile_sacred'

This commit is contained in:
Kornelia Girejko 2022-05-08 19:19:06 +02:00
parent 8cfe58ca38
commit 74f297a353

View File

@ -30,8 +30,13 @@ pipeline {
stage('Main train'){ stage('Main train'){
steps { steps {
copyArtifacts filter: '*', projectName: 's478815-create-dataset' copyArtifacts filter: '*', projectName: 's478815-create-dataset'
sh 'python3 ./train-sacred.py' sh 'python3 ./train-sacred.py with "epochs=$EPOCHS"'
archiveArtifacts artifacts: 'modelP.pkl', followSymlinks: false sh 'cp s478815/_sources/train-sacred* source_code.py'
sh 'cp s478815/1/config.json configuration.json'
sh 'cp s478815/1/info.json param.json'
sh 'cp s478815/1/games_model.pkl model.pkl'
archiveArtifacts artifacts: 'modelP.pkl, source_code.py, configuration.json, param.json, modelS.pkl'
sh 'rm -r s478815'
build job: 's478815-evaluation/master/' build job: 's478815-evaluation/master/'
} }