2020-04-22 00:45:51 +02:00
|
|
|
pipeline {
|
|
|
|
agent { dockerfile true }
|
|
|
|
stages {
|
|
|
|
stage('checkoutGit') {
|
|
|
|
steps {
|
|
|
|
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-22 00:48:59 +02:00
|
|
|
|
2020-04-22 00:45:51 +02:00
|
|
|
stage('copyArtifacts') {
|
|
|
|
steps {
|
2020-04-22 00:52:34 +02:00
|
|
|
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 'Wojciech Ufnowski-metrics', selector: lastSuccessful(), target: './'
|
|
|
|
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 'Wojciech Ufnowski-metrics', selector: lastSuccessful(), target: './'
|
2020-04-22 00:45:51 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-22 00:48:59 +02:00
|
|
|
|
2020-04-22 00:45:51 +02:00
|
|
|
stage('Plots')
|
|
|
|
{
|
|
|
|
steps {
|
2020-04-22 01:10:13 +02:00
|
|
|
sh label: 'WER plot', script: './wykres.py wer.txt wer.png'
|
|
|
|
sh label: 'SRR plot', script: './wykres.py srr.txt srr.png'
|
2020-04-22 00:45:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('ArchiveArtifacts')
|
|
|
|
{
|
|
|
|
steps {
|
|
|
|
archiveArtifacts 'wer.png'
|
|
|
|
archiveArtifacts 'srr.png'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|