mlflow attempt task 2
This commit is contained in:
parent
b4fbffb914
commit
d8e44b54ad
@ -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'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user