26 lines
844 B
Plaintext
26 lines
844 B
Plaintext
pipeline {
|
|
agent {
|
|
dockerfile true
|
|
}
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s434749/ium_434749.git'
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434749-training', selector: lastSuccessful()
|
|
sh 'python3 train_model.py eval'
|
|
script{
|
|
def results = readFile "${env.WORKSPACE}/results.txt"
|
|
}
|
|
}
|
|
|
|
post {
|
|
success {
|
|
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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|