stop publishing to mlflow
This commit is contained in:
parent
5391120270
commit
f88423fac7
@ -12,6 +12,11 @@ pipeline {
|
|||||||
stage('Get artifacts') {
|
stage('Get artifacts') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: lastSuccessful()
|
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') {
|
stage('Run mlflow script and save artifacts') {
|
||||||
|
@ -20,7 +20,7 @@ import mlflow.pytorch
|
|||||||
logging.basicConfig(level=logging.WARN)
|
logging.basicConfig(level=logging.WARN)
|
||||||
logger = logging.getLogger(__name__)
|
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")
|
mlflow.set_experiment("s444507")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user