diff --git a/Jenkinsfile_sacred b/Jenkinsfile_sacred index 5e4485c..746694c 100644 --- a/Jenkinsfile_sacred +++ b/Jenkinsfile_sacred @@ -30,8 +30,13 @@ pipeline { stage('Main train'){ steps { copyArtifacts filter: '*', projectName: 's478815-create-dataset' - sh 'python3 ./train-sacred.py' - archiveArtifacts artifacts: 'modelP.pkl', followSymlinks: false + sh 'python3 ./train-sacred.py with "epochs=$EPOCHS"' + 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/' }