s460941-metrics/Jenkinsfile
2020-04-24 07:46:28 +02:00

34 lines
738 B
Groovy

pipeline {
agent { dockerfile true }
stages
{
stage('CopyArtifacts')
{
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
archiveArtifacts 'wikiniews_results.tsv'
}
}
stage('Shell Script')
{
steps {
sh('chmod +x ./count.sh')
sh('./count.sh')
archiveArtifacts 'lines_number.txt'
archiveArtifacts 'wer_results.txt'
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
}
}
stage('Plot')
{
steps {
sh('python plot.py')
archiveArtifacts 'wx.png'
archiveArtifacts 'sx.png'
}
}
}
}