Zaktualizuj 'Jenkinsfile-train-mlflow'

This commit is contained in:
Sebastian Wałęsa 2022-05-15 12:47:16 +02:00
parent aa385bbbca
commit 603f0d1599

View File

@ -11,19 +11,12 @@ pipeline {
)
}
stages {
stage('Sacred-stage'){
stage('MLflow-stage'){
steps {
copyArtifacts filter: '*', projectName: 's478839-create-dataset'
sh 'python3 ml_pytroch_sacred.py with "epochs=$EPOCHS"'
archiveArtifacts artifacts: 'IUM_478839/**, result.txt, Model_xPosition.pkl'
sh 'rm -r IUM_478839'
sh 'python3 ml_pytroch_mlflow.py with "epochs=$EPOCHS"'
}
}
stage('Evaluation-job'){
steps {
build job: 's478839-evaluation/feature/'
}
}
}
}