ium_444417/Jenkinsfile3
s444417 1bd4057b2b
Some checks failed
s444417-training/pipeline/head This commit looks good
s444417-evaluation/pipeline/head There was a failure building this commit
fix
2022-05-04 15:58:17 +02:00

34 lines
889 B
Plaintext

pipeline {
agent {
dockerfile true
}
stages {
stage('Copy') {
steps {
copyArtifacts projectName: 's444417-create-dataset'
sh 'ls -la'
sh 'python3 ./src/trainScript.py 6'
}
}
stage('Archive') {
steps {
dir('saved_model') {
archiveArtifacts artifacts: '**/**'
}
}
}
stage('Starting eval job') {
steps {
build job: 's444417-evaluation/master', wait: false
}
}
}
options {
copyArtifactPermission('s444417-evaluation');
}
post {
always {
emailext body: "${currentBuild.currentResult}", subject: 's444417-testing build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
}
}
}