change jenkinsfile

This commit is contained in:
dylodylo 2020-04-03 15:13:02 +02:00
parent 7bec3f3c04
commit de39c52569
2 changed files with 3 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -16,7 +16,7 @@ pipeline {
}
}
stage("RunScript")
stage("Script")
{
steps{
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
diff hypothesis.trn reference.trn | grep "^>" | wc -l > $COUNT_DIFF
$COUNT = $COUNT_DIFF/$COUNT*100
echo $COUNT > srr.text
RESULT = `expr $COUNT_DIFF / $COUNT * 100`
echo $RESULT > srr.text