2020-04-03 14:22:27 +02:00
|
|
|
pipeline {
|
|
|
|
agent { dockerfile true }
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/dawjur/dawjur-mlworkshops-plots.git']]])
|
|
|
|
copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 'dawjur-metrics', selector: lastSuccessful()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Plot') {
|
|
|
|
steps {
|
2020-04-03 15:06:42 +02:00
|
|
|
sh label: '', script: './plot.py wer.txt wer.png'
|
|
|
|
sh label: '', script: './plot.py srr.txt srr.png'
|
|
|
|
archiveArtifacts 'wer.png'
|
|
|
|
archiveArtifacts 'srr.png'
|
2020-04-03 14:22:27 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|