diff --git a/Jenkinsfile b/Jenkinsfile index 393a75a..ec7b9a0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,6 +20,15 @@ pipeline { stage('archiveArtifacts') { steps { archiveArtifacts 'CountResult.txt' + archiveArtifacts 'wyniki' + archiveArtifacts 'reference.txt' + archiveArtifacts 'hypothesis.trn' + archiveArtifacts 'hypothesis.txt' + archiveArtifacts 'reference.txt' + archiveArtifacts 'wer_all.txt' + archiveArtifacts 'wer.txt' + archiveArtifacts 'srr.txt' + archiveArtifacts 'wikinews_results.tsv' } } } diff --git a/script.sh b/script.sh index 430f565..a2e6bf9 100644 --- a/script.sh +++ b/script.sh @@ -6,4 +6,4 @@ cut -f3 wikiniews_results.tsv > reference.txt awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn -sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout | grep 'Scores' > results \ No newline at end of file +sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout | grep 'Scores' > wyniki \ No newline at end of file