34 lines
755 B
Groovy
34 lines
755 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 label: '', script: 'python plot.py'
|
|
archiveArtifacts 'wx.png'
|
|
archiveArtifacts 'sx.png'
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|