19 lines
813 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
} |