ium_444417/Jenkinsfile3

36 lines
908 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:57:33 +02:00
}
options {
copyArtifactPermission('s444417-evaluation');
}
stages {
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
}