diff --git a/Jenkinsfile b/Jenkinsfile index b0106a8..711e8f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,6 +32,10 @@ pipeline { steps { sh 'chmod 755 ./zadanie3/trn.sh' sh './zadanie3/trn.sh' + archiveArtifacts 'zadanie3/hypothesis.trn' + archiveArtifacts 'zadanie3/reference.trn' + archiveArtifacts 'zadanie3/results.txt' + archiveArtifacts 'zadanie3/results-p.txt' } } } diff --git a/zadanie3/trn.sh b/zadanie3/trn.sh index 7d96e35..e734817 100644 --- a/zadanie3/trn.sh +++ b/zadanie3/trn.sh @@ -5,5 +5,5 @@ cut -f 3 ASR-eval/wikiniews_results.tsv > zadanie3/reference.txt awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < zadanie3/hypothesis.txt > zadanie3/hypothesis.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < zadanie3/reference.txt > zadanie3/reference.trn -sclite -f 0 -r zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all stdoutp > zadanie3/results.txt +sclite -f 0 -r zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all stdout > zadanie3/results.txt sclite -f 0 -r zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all -p > zadanie3/results-p.txt \ No newline at end of file