ium_434804/Jenkinsfile_mlflow_coop
2021-05-23 18:49:38 +02:00

25 lines
670 B
Plaintext

pipeline {
agent {dockerfile true}
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR'
)
}
stages {
stage('training') {
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'
}
}
}
}