mlflow attempt task 2

This commit is contained in:
Kamila 2022-05-15 11:29:26 +02:00
parent b4fbffb914
commit d8e44b54ad

View File

@ -2,6 +2,7 @@ pipeline {
agent {
dockerfile {
filename 'Dockerfile'
args '-v /mlruns:/mlruns'
}
}
@ -31,9 +32,8 @@ pipeline {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh 'rm -r mlruns'
sh 'python3 ./nn_train_mlflow.py'
archiveArtifacts artifacts: 'mlruns/**'
sh 'rm -r my_model_mlflow'
}
}