Zaktualizuj 'Jenkinsfile-sacred'

This commit is contained in:
Sebastian Wałęsa 2022-05-08 20:15:33 +02:00
parent 2e17d252d0
commit 91b4f1e14a

View File

@ -17,10 +17,8 @@ pipeline {
steps { steps {
copyArtifacts filter: '*', projectName: 's478839-create-dataset' copyArtifacts filter: '*', projectName: 's478839-create-dataset'
sh 'python3 ml_pytroch_sacred.py with "epochs=$EPOCHS"' sh 'python3 ml_pytroch_sacred.py with "epochs=$EPOCHS"'
sh 'cp IUM_478839/1/config.json configuration.json' archiveArtifacts artifacts: 'IUM_478839/_sources/*, IUM_478839/1/*'
sh 'cp IUM_478839/1/info.json param.json' sh 'rm -r IUM_478839'
sh 'cp IUM_478839/1/Model_xPosition.pkl model.pkl'
archiveArtifacts artifacts: 'configuration.json, param.json, model.pkl'
} }
} }
stage('Evaluation-job'){ stage('Evaluation-job'){