From e203493f119f2510e2a25abbeec775ea63a0b12a Mon Sep 17 00:00:00 2001 From: Artur Nowakowski Date: Fri, 3 Apr 2020 13:00:43 +0200 Subject: [PATCH] Ex.3 fixed typo --- Jenkinsfile | 2 +- count_metrics.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f70c95a..7373976 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ pipeline { sh label: '', script: './count_metrics.sh wikiniews_results.tsv' archiveArtifacts 'srr.txt' archiveArtifacts 'wer.txt' - archiveArtifacts 'wikiniews_results_with_wer.txt' + archiveArtifacts 'wikiniews_results_with_wer.tsv' } } stage('Archive results'){ diff --git a/count_metrics.sh b/count_metrics.sh index 830e3c1..9ef3665 100755 --- a/count_metrics.sh +++ b/count_metrics.sh @@ -1,7 +1,7 @@ #!/bin/bash # create trn -cut -f2 $1| awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > hypothesis.trn +cut -f2 $1 | awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > hypothesis.trn cut -f3 $1 | awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > reference.trn #wer for each line