ium_s434700/evaluation/Jenkinsfile
Filip Izydorczyk f2c10e7647 evaluation
2021-05-27 16:38:23 +02:00

35 lines
910 B
Groovy

pipeline {
agent {
dockerfile true
}
stages {
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 's434700-training',
filter: 'model.pt',
target: 'model'])
}
}
}
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s434700/ium_s434700.git'
}
}
stage('evaluation') {
steps {
sh 'python ./evaluation/eval.py'
sh 'python ./evaluation/plot.py'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'model_results.csv'
archiveArtifacts 'model_results.png'
}
}
}
}