2021-05-23 18:44:24 +02:00
|
|
|
pipeline {
|
2021-05-28 21:48:35 +02:00
|
|
|
agent {
|
|
|
|
docker {
|
2021-05-28 21:53:11 +02:00
|
|
|
image 's434804/ium:0.5'
|
2021-05-28 21:48:35 +02:00
|
|
|
args '-v /tmp/mlruns:/tmp/mlruns -v /mlruns:/mlruns '
|
|
|
|
}
|
|
|
|
}
|
2021-05-23 18:44:24 +02:00
|
|
|
stages {
|
2021-05-28 21:48:35 +02:00
|
|
|
stage('Predict model from partner mlflow') {
|
2021-05-23 18:44:24 +02:00
|
|
|
steps {
|
|
|
|
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'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|