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