update Jenkinsfile

This commit is contained in:
dylodylo 2020-04-10 18:45:29 +02:00
parent 8bc5cea4a0
commit 88d7237757
2 changed files with 4 additions and 5 deletions

4
Jenkinsfile vendored
View File

@ -13,7 +13,7 @@ pipeline {
{
steps{
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
copyArtifacts filter: 'srr2.txt wer2.txt', fingerprintArtifacts: true, projectName: 's460929-metrics', optional: true, selector: lastSuccessful()
copyArtifacts filter: 'srr3.txt wer2.txt', fingerprintArtifacts: true, projectName: 's460929-metrics', optional: true, selector: lastSuccessful()
}
}
@ -34,7 +34,7 @@ pipeline {
stage("Result")
{
steps{
archiveArtifacts 'srr2.txt'
archiveArtifacts 'srr3.txt'
archiveArtifacts 'wer2.txt'
archiveArtifacts 'newresults.tsv'
archiveArtifacts 'hypothesis.trn'

View File

@ -12,6 +12,5 @@ echo wer.txt | sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -
COUNT_DIFF=$(diff hypothesis.trn reference.trn | grep "^>" | wc -l)
echo $COUNT_DIFF
let RESULT=$COUNT_DIFF/$COUNT
echo $(echo"$COUNT_DIFF/$COUNT" | bc -l) >> srr2.txt
echo "$(tail -50 "srr2.txt")" > srr2.txt
echo $(echo "$COUNT_DIFF/$COUNT" | bc -l) >> srr3.txt
echo "$(tail -50 "srr3.txt")" > srr3.txt