s426274-mlworkshops/JenkinsfilePlots
2020-04-22 00:45:51 +02:00

35 lines
994 B
Plaintext

pipeline {
agent { dockerfile true }
stages {
stage('checkoutGit') {
steps {
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
}
}
stage('CopyArtifacts')
{
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
}
}
}
stage('Plots')
{
steps {
sh label: 'WER plot', script: './wykresy.py wer.txt wer.png'
sh label: 'SRR plot', script: './wykresy.py srr.txt srr.png'
}
}
stage('ArchiveArtifacts')
{
steps {
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
}
}