2021-05-27 16:38:23 +02:00
|
|
|
pipeline {
|
|
|
|
agent {
|
|
|
|
dockerfile true
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Copy Archive') {
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
step ([$class: 'CopyArtifact',
|
|
|
|
projectName: 's434700-training',
|
|
|
|
filter: 'model.pt',
|
2021-05-27 16:49:46 +02:00
|
|
|
target: 'model'])
|
2021-05-27 16:46:50 +02:00
|
|
|
|
|
|
|
step ([$class: 'CopyArtifact',
|
|
|
|
projectName: 's434700-create-dataset',
|
|
|
|
filter: 'train_set.csv',
|
|
|
|
target: 'datasets'])
|
2021-05-27 16:38:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|