change jenkinsfile

This commit is contained in:
dylodylo 2020-04-03 15:14:41 +02:00
parent de39c52569
commit 344b4d2e62
2 changed files with 2 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,5 +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
RESULT = `expr $COUNT_DIFF / $COUNT * 100` RESULT=`expr $COUNT_DIFF / $COUNT * 100`
echo $RESULT > srr.text echo $RESULT > srr.text