Saving metrics cumulatively

This commit is contained in:
Damian Michalski 2020-04-03 18:15:18 +02:00
parent 8ec8833c68
commit 3dd9e026b4
2 changed files with 11 additions and 0 deletions

4
Jenkinsfile vendored
View File

@ -9,6 +9,9 @@ pipeline {
stage('Copy artifacts') {
steps {
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's452094-metrics', target: 'prev'
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's452094-metrics', target: 'prev'
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 's452094-metrics', target: 'prev'
}
}
stage('Get data') {
@ -26,6 +29,7 @@ pipeline {
sh label: 'get all WER', script: './get_wer_lines.sh'
sh label: 'get all WER', script: './avr_wer.sh'
sh label: 'get all WER', script: './ssr.sh'
sh label: 'get all WER', script: './add_prev.sh'
}
}
stage('Archive') {

7
add_prev.sh Executable file
View File

@ -0,0 +1,7 @@
cat wer.txt >> prev/wer.txt
cat srr.txt >> prev/srr.txt
cat wikiniews_results.tsv >> prev/wikiniews_results.tsv
cp prev/wer.txt ./
cp prev/srr.txt ./
cp prev/wikiniews_results.tsv ./