ium_444417/Jenkinsfile3

28 lines
766 B
Plaintext
Raw Normal View History

2022-04-25 19:16:01 +02:00
pipeline {
2022-05-03 17:44:11 +02:00
agent {
dockerfile true
}
2022-04-25 19:16:01 +02:00
stages {
2022-05-03 14:20:21 +02:00
stage('Copy') {
2022-04-25 20:21:55 +02:00
steps {
2022-04-25 21:31:57 +02:00
copyArtifacts projectName: 's444417-create-dataset'
2022-04-25 22:11:33 +02:00
sh 'ls -la'
2022-05-03 21:46:50 +02:00
sh 'python3 ./src/trainScript.py 6'
2022-05-03 22:10:55 +02:00
archiveArtifacts 'saved_model/MyModel_tf/*'
2022-05-03 22:09:18 +02:00
}
}
2022-05-03 22:10:55 +02:00
stage('Starting eval job') {
2022-05-03 22:09:18 +02:00
steps {
build job: 's444417-evaluation/master', wait: true
2022-05-03 14:20:21 +02:00
}
}
2022-04-25 19:16:01 +02:00
}
2022-05-03 21:45:42 +02:00
options {
copyArtifactPermission('s444417-evaluation');
}
2022-04-25 22:44:19 +02:00
post {
always {
emailext body: "${currentBuild.currentResult}", subject: 's444417-testing build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
2022-04-25 22:42:35 +02:00
}
}
2022-04-25 19:16:01 +02:00
}