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,17 +11,10 @@ pipeline {
) )
} }
stages { stages {
stage('Sacred-stage'){ stage('MLflow-stage'){
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_mlflow.py with "epochs=$EPOCHS"'
archiveArtifacts artifacts: 'IUM_478839/**, result.txt, Model_xPosition.pkl'
sh 'rm -r IUM_478839'
}
}
stage('Evaluation-job'){
steps {
build job: 's478839-evaluation/feature/'
} }
} }
} }