35 lines
763 B
Groovy
35 lines
763 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 'python plot.py'
|
|
archiveArtifacts 'wx.png'
|
|
archiveArtifacts 'sx.png'
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|