s460941-metrics/Jenkinsfile
2020-04-24 07:52:11 +02:00

35 lines
782 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('chmod +x ./plot.py')
sh label: '', script: 'python plot.py'
archiveArtifacts 'wx.png'
archiveArtifacts 'sx.png'
}
}
}
}