From 0e890acac010ca33d83197087a8f46f11e7b6465 Mon Sep 17 00:00:00 2001 From: Dawid Kubicki Date: Fri, 26 Apr 2019 13:37:42 +0200 Subject: [PATCH] metryki6 --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 98ba658..ffe6723 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,10 +6,10 @@ node{ def customImage = docker.build("my-custom-image") customImage.inside { sh 'echo works' - sh 'awk -f file.awk < wikiniews_results.tsv > hypotheses.txt' + sh 'awk -f file.awk < wikiniews_results.tsv > hypothesis.txt' sh 'awk -f file2.awk < wikiniews_results.tsv > references.txt' - sh 'awk '{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}' < reference.txt > reference.trn' - sh 'awk '{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn' + sh 'awk \'{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}\' < reference.txt > reference.trn' + sh 'awk \' {print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}\' < hypothesis.txt > hypothesis.trn' sh 'sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout' } } \ No newline at end of file