rename script

This commit is contained in:
laskau 2019-05-16 12:56:06 +02:00
parent 18a244b7d9
commit 36a5dad2e7
2 changed files with 2 additions and 10 deletions

12
Jenkinsfile vendored
View File

@ -21,7 +21,7 @@ pipeline {
stage('Run script') {
steps{
sh 'sh test.sh text.txt out.txt'
sh 'sh script.sh text.txt out.txt'
archiveArtifacts artifacts: 'out.txt'
}
}
@ -32,15 +32,7 @@ pipeline {
}
}
stage('WER & SRR') {
steps {
sh 'cat Infra/wikiniews_results.tsv | cut -d ',' -f3 > reference.txt'
sh 'cat Infra/wikiniews_results.tsv | cut -d ',' -f2 > hypothesis.txt'
sh 'sh metryki.sh reference.txt reference.trn'
sh 'sh metryki.sh hypothesis.txt hypothesis.trn'
sh 'sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout'
}
}
}
}

View File