fix eval
Some checks failed
s434749-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
Alagris 2021-04-26 17:39:55 +02:00
parent 32d3679a52
commit 6835300ab8

View File

@ -10,10 +10,10 @@ pipeline {
copyArtifacts fingerprintArtifacts: true, projectName: 's434749-training', selector: lastSuccessful()
sh 'python3 train_model.py eval'
}
def results = readFile "${env.WORKSPACE}/results.txt"
post {
success {
def results = readFile "${env.WORKSPACE}/results.txt"
emailext body: 'Evaluation of CNN for english phonetic embeddings has finished successfully!\n'+results, subject: 's434749 evaluation finished', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
archiveArtifacts 'results.txt'
}