2019-04-26 11:01:34 +02:00
|
|
|
pipeline {
|
2019-04-26 12:20:08 +02:00
|
|
|
agent { dockerfile true }
|
2019-04-26 11:01:34 +02:00
|
|
|
stages {
|
|
|
|
stage('Copy Archive') {
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
step ([$class: 'CopyArtifact',
|
|
|
|
projectName: 'ASR-eval',
|
|
|
|
target: 'Infra']);
|
2019-04-26 12:52:37 +02:00
|
|
|
|
|
|
|
sh 'git --version'
|
|
|
|
sh 'git checkout'
|
|
|
|
sh 'python3 script.py'
|
|
|
|
archiveArtifacts artifacts: 'num_lines.txt'
|
2019-05-16 10:48:41 +02:00
|
|
|
sh 'python3 calculate_metrics.py'
|
2019-05-16 10:11:25 +02:00
|
|
|
archiveArtifacts artifacts: 'wikiniews_results_with_wer.tsv'
|
|
|
|
archiveArtifacts artifacts: 'wer_mean.txt'
|
|
|
|
archiveArtifacts artifacts: 'srr.txt'
|
|
|
|
archiveArtifacts artifacts: 'historical_wer_mean.txt'
|
|
|
|
archiveArtifacts artifacts: 'historical_srr.txt'
|
2019-04-26 12:52:37 +02:00
|
|
|
|
2019-05-16 10:11:25 +02:00
|
|
|
}
|
2019-04-26 11:00:51 +02:00
|
|
|
}
|
|
|
|
}
|
2019-04-26 11:01:34 +02:00
|
|
|
}
|
|
|
|
}
|