ium_434804/Jenkinsfile_mlflow_coop
2021-05-28 21:53:11 +02:00

23 lines
619 B
Plaintext

pipeline {
agent {
docker {
image 's434804/ium:0.5'
args '-v /tmp/mlruns:/tmp/mlruns -v /mlruns:/mlruns '
}
}
stages {
stage('Predict model from partner mlflow') {
steps {
sh 'chmod +x pred_from_mlflow_model.py'
sh 'python3 pred_from_mlflow_model.py'
}
}
stage('sendMail') {
steps{
emailext body: currentBuild.result ?: 'MLFLOW PREDICT COOP SUCCESS',
subject: 's434804',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
}
}
}
}