change jenkinsfile

This commit is contained in:
dylodylo 2020-04-03 14:48:26 +02:00
parent 2bad28f4f5
commit 7bec3f3c04
2 changed files with 3 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -16,7 +16,7 @@ pipeline {
} }
} }
stage("Script") stage("RunScript")
{ {
steps{ steps{
sh label:"", script:"bash ./count.sh" sh label:"", script:"bash ./count.sh"

View File

@ -13,4 +13,5 @@ cut -f3 $MYFILE | awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > reference.tr
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > wer.txt sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > wer.txt
diff hypothesis.trn reference.trn | grep "^>" | wc -l > $COUNT_DIFF diff hypothesis.trn reference.trn | grep "^>" | wc -l > $COUNT_DIFF
$COUNT = $COUNT_DIFF/$COUNT*100 > srr.text $COUNT = $COUNT_DIFF/$COUNT*100
echo $COUNT > srr.text