dawjur-mlworkshops-plots/Jenkinsfile
Dawid Jurkiewicz 7774ef986e Add ploting
2020-04-03 15:06:42 +02:00

19 lines
813 B
Groovy

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 {
sh label: '', script: './plot.py wer.txt wer.png'
sh label: '', script: './plot.py srr.txt srr.png'
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
}
}