1
0
ium_434804/Jenkinsfile_mlflow_coop

19 lines
546 B
Plaintext
Raw Normal View History

2021-05-23 18:44:24 +02:00
pipeline {
agent {dockerfile true}
stages {
stage('training') {
steps {
2021-05-23 18:52:57 +02:00
sh 'export MLFLOW_TRACKING_URI=http://172.17.0.1:5000'
2021-05-23 18:44:24 +02:00
sh 'chmod +x pred_from_mlflow_model.py'
sh 'python3 pred_from_mlflow_model.py'
}
}
stage('sendMail') {
steps{
2021-05-23 18:49:38 +02:00
emailext body: currentBuild.result ?: 'MLFLOW PREDICT COOP SUCCESS',
2021-05-23 18:44:24 +02:00
subject: 's434804',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
}
}
}
}