change jenkinsfile
This commit is contained in:
parent
2bad28f4f5
commit
7bec3f3c04
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -16,7 +16,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage("Script")
|
||||
stage("RunScript")
|
||||
{
|
||||
steps{
|
||||
sh label:"", script:"bash ./count.sh"
|
||||
|
3
count.sh
3
count.sh
@ -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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user