diff --git a/Jenkinsfile_predict_r b/Jenkinsfile_predict_r index 11530ee..9fd705f 100644 --- a/Jenkinsfile_predict_r +++ b/Jenkinsfile_predict_r @@ -18,7 +18,7 @@ pipeline { { steps { - copyArtifacts(fingerprintArtifacts: true, projectName: 's434695-training/train', selector: buildParameter('WHICH_BUILD')) + copyArtifacts(fingerprintArtifacts: true, projectName: 's434788-training/mlflow', selector: buildParameter('WHICH_BUILD')) } } stage('predict') diff --git a/Zadanie_09_MLflow_Predict_Registry.py b/Zadanie_09_MLflow_Predict_Registry.py index 584889e..7ba1b18 100644 --- a/Zadanie_09_MLflow_Predict_Registry.py +++ b/Zadanie_09_MLflow_Predict_Registry.py @@ -5,7 +5,7 @@ import pandas as pd mlflow.set_tracking_uri("http://172.17.0.1:5000") client = MlflowClient() version = 0 -model_name = "s434695" +model_name = "s434788" for mv in client.search_model_versions(f"name='{model_name}'"): print(mv) if int(mv.version) > version: