save model

This commit is contained in:
Karolina Oparczyk 2021-05-17 21:27:04 +02:00
parent b0da1334a6
commit 771592b3d4

View File

@ -12,7 +12,7 @@ node {
}
stage('Clone repo') {
docker.image("karopa/ium:11").inside {
try { docker.image("karopa/ium:11").inside {
stage('Test') {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_SELECTOR")
@ -24,6 +24,18 @@ node {
archiveArtifacts 'output.txt'
archiveArtifacts 'model/**/*.*'
}
emailext body: 'Successful build',
subject: "Successful build",
to: "26ab8f35.uam.onmicrosoft.com@emea.teams.ms"
throw e
}
catch (e) {
emailext body: 'Failed build',
subject: "Failed build",
to: "26ab8f35.uam.onmicrosoft.com@emea.teams.ms"
throw e
}
}
}
}