stop publishing to mlflow
Some checks failed
444507-training/pipeline/head There was a failure building this commit
s444507-predict-s444356/pipeline/head This commit looks good
s444507-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
Adam Wojdyla 2022-05-16 10:11:05 +02:00
parent 5391120270
commit f88423fac7
2 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,11 @@ pipeline {
stage('Get artifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: lastSuccessful()
archiveArtifacts artifacts: 'CarPrices_pytorch_model.pkl'
archiveArtifacts artifacts: 'mlruns/**'
archiveArtifacts artifacts: 'my_model/**'
sh 'rm -r mlruns'
sh 'rm -r my_model'
}
}
stage('Run mlflow script and save artifacts') {

View File

@ -20,7 +20,7 @@ import mlflow.pytorch
logging.basicConfig(level=logging.WARN)
logger = logging.getLogger(__name__)
mlflow.set_tracking_uri("http://172.17.0.1:5000")
# mlflow.set_tracking_uri("http://172.17.0.1:5000")
mlflow.set_experiment("s444507")