change jenkinsfile

This commit is contained in:
Dawid 2021-05-23 18:20:33 +02:00
parent f6465a49f6
commit 981ba97f9a

View File

@ -19,7 +19,6 @@ pipeline {
sh 'python3 tensor.py' sh 'python3 tensor.py'
sh 'rm -rf country_vaccination' sh 'rm -rf country_vaccination'
sh 'chmod +x mlflow_model.py' sh 'chmod +x mlflow_model.py'
sh 'python3 mlflow_model.py'
sh "export MLFLOW_TRACKING_URI=http://172.17.0.1:5000" sh "export MLFLOW_TRACKING_URI=http://172.17.0.1:5000"
sh 'python3 mlflow_model.py' sh 'python3 mlflow_model.py'
} }
@ -27,7 +26,6 @@ pipeline {
stage('archiveArtifacts') { stage('archiveArtifacts') {
steps{ steps{
archiveArtifacts 'vaccines_model/saved_model.pb' archiveArtifacts 'vaccines_model/saved_model.pb'
archiveArtifacts 'country_vaccination2/**'
} }
} }
stage('sendMail') { stage('sendMail') {