plot
All checks were successful
s426206-evaluation/pipeline/head This commit looks good
s426206-training/pipeline/head This commit looks good

This commit is contained in:
Jan Nowak 2021-05-16 09:15:20 +02:00
parent d633875c90
commit 6bbc314728

View File

@ -28,8 +28,9 @@ pipeline {
script { script {
def img = docker.build('rokoch/ium:01') def img = docker.build('rokoch/ium:01')
img.inside { img.inside {
sh 'chmod +x evaluation.py' sh 'chmod +x evaluation.py plot.py'
sh 'python3 ./evaluation.py >> metrics.tsv' sh 'python3 ./evaluation.py >> metrics.tsv'
sh 'python3 ./plot.py'
} }
} }
} }
@ -38,7 +39,7 @@ pipeline {
stage('end') { stage('end') {
steps { steps {
//Zarchiwizuj wynik //Zarchiwizuj wynik
archiveArtifacts 'model.pt, metrics.tsv, plot.png' archiveArtifacts 'metrics.tsv, plot.png'
} }
} }
} }