update Jenkinsfile
This commit is contained in:
parent
88d7237757
commit
a04be259c5
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -13,7 +13,7 @@ pipeline {
|
|||||||
{
|
{
|
||||||
steps{
|
steps{
|
||||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
||||||
copyArtifacts filter: 'srr3.txt wer2.txt', fingerprintArtifacts: true, projectName: 's460929-metrics', optional: true, selector: lastSuccessful()
|
copyArtifacts filter: 'srr_results.txt wer_resulsts.txt', fingerprintArtifacts: true, projectName: 's460929-metrics', optional: true, selector: lastSuccessful()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,8 +34,8 @@ pipeline {
|
|||||||
stage("Result")
|
stage("Result")
|
||||||
{
|
{
|
||||||
steps{
|
steps{
|
||||||
archiveArtifacts 'srr3.txt'
|
archiveArtifacts 'srr_results.txt'
|
||||||
archiveArtifacts 'wer2.txt'
|
archiveArtifacts 'wer_results.txt'
|
||||||
archiveArtifacts 'newresults.tsv'
|
archiveArtifacts 'newresults.tsv'
|
||||||
archiveArtifacts 'hypothesis.trn'
|
archiveArtifacts 'hypothesis.trn'
|
||||||
archiveArtifacts 'reference.trn'
|
archiveArtifacts 'reference.trn'
|
||||||
|
4
count.sh
4
count.sh
@ -12,5 +12,5 @@ echo wer.txt | sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -
|
|||||||
COUNT_DIFF=$(diff hypothesis.trn reference.trn | grep "^>" | wc -l)
|
COUNT_DIFF=$(diff hypothesis.trn reference.trn | grep "^>" | wc -l)
|
||||||
echo $COUNT_DIFF
|
echo $COUNT_DIFF
|
||||||
|
|
||||||
echo $(echo "$COUNT_DIFF/$COUNT" | bc -l) >> srr3.txt
|
echo $(echo "$COUNT_DIFF/$COUNT" | bc -l) >> srr_results.txt
|
||||||
echo "$(tail -50 "srr3.txt")" > srr3.txt
|
echo "$(tail -50 "srr3.txt")" > srr_results.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user