35 lines
910 B
Plaintext
35 lines
910 B
Plaintext
|
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'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|