change jenkinsfile
This commit is contained in:
parent
de39c52569
commit
344b4d2e62
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -16,7 +16,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage("Script")
|
||||
stage("RunScript")
|
||||
{
|
||||
steps{
|
||||
sh label:"", script:"bash ./count.sh"
|
||||
|
2
count.sh
2
count.sh
@ -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
|
||||
|
||||
RESULT = `expr $COUNT_DIFF / $COUNT * 100`
|
||||
RESULT=`expr $COUNT_DIFF / $COUNT * 100`
|
||||
echo $RESULT > srr.text
|
||||
|
Loading…
Reference in New Issue
Block a user