s460941-metrics/Jenkinsfile

35 lines
782 B
Plaintext
Raw Normal View History

2020-04-03 13:00:25 +02:00
pipeline {
2020-04-22 17:04:11 +02:00
agent { dockerfile true }
2020-04-22 16:31:19 +02:00
stages
{
stage('CopyArtifacts')
{
2020-04-03 13:00:25 +02:00
steps {
2020-04-23 22:05:33 +02:00
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2020-04-22 16:23:26 +02:00
archiveArtifacts 'wikiniews_results.tsv'
2020-04-03 13:00:25 +02:00
}
2020-04-22 16:31:19 +02:00
}
stage('Shell Script')
{
steps {
2020-04-23 22:05:33 +02:00
sh('chmod +x ./count.sh')
sh('./count.sh')
2020-04-22 16:55:50 +02:00
archiveArtifacts 'lines_number.txt'
2020-04-23 20:42:39 +02:00
archiveArtifacts 'wer_results.txt'
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
2020-04-22 16:31:19 +02:00
}
2020-04-24 07:42:07 +02:00
}
2020-04-24 07:46:28 +02:00
stage('Plot')
{
2020-04-24 07:49:24 +02:00
steps{
2020-04-24 07:52:11 +02:00
sh('chmod +x ./plot.py')
2020-04-24 07:49:24 +02:00
sh label: '', script: 'python plot.py'
2020-04-24 07:46:28 +02:00
archiveArtifacts 'wx.png'
archiveArtifacts 'sx.png'
}
}
2020-04-03 13:00:25 +02:00
}
2020-04-22 15:59:59 +02:00
}