ium_444417/Jenkinsfile3

34 lines
900 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 23:00:45 +02:00
}
}
stage('Archive') {
steps {
dir('saved_model') {
2022-05-04 15:26:55 +02:00
archiveArtifacts artifacts: '**/**'
2022-05-03 23:00:45 +02:00
}
2022-05-03 22:09:18 +02:00
}
}
2022-05-04 15:54:17 +02:00
options {
2022-05-04 15:56:13 +02:00
copyArtifactPermission('s444417-evaluation')
2022-05-04 15:54:17 +02:00
}
2022-05-03 22:10:55 +02:00
stage('Starting eval job') {
2022-05-03 22:09:18 +02:00
steps {
2022-05-04 15:37:38 +02:00
build job: 's444417-evaluation/master', wait: false
2022-05-03 14:20:21 +02:00
}
}
2022-04-25 19:16:01 +02:00
}
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
}