zad4 test6

This commit is contained in:
massta 2020-04-05 17:55:34 +02:00
parent f593b773c0
commit c3cdbc67a2
2 changed files with 6 additions and 3 deletions

View File

@ -13,8 +13,11 @@ srr=$(echo "($srr_matching/$all)*100" | bc -l)
echo "$avg%" >> averagewer.txt echo "$avg%" >> averagewer.txt
echo "$srr%" >> averagesrr.txt echo "$srr%" >> averagesrr.txt
tail -n 50 averagewer.txt > averagewer.txt tail -n 50 averagewer.txt > averagewertmp.txt
tail -n 50 averagesrr.txt > averagesrr.txt cat averagewertmp.txt > averagewer.txt
tail -n 50 averagesrr.txt > averagesrrtmp.txt
cat averagesrrtmp.txt > averagesrr.txt
echo "Avg WER: $avg%" >> clear.txt echo "Avg WER: $avg%" >> clear.txt
echo "SRR: $srr%" >> clear.txt echo "SRR: $srr%" >> clear.txt

View File

@ -16,7 +16,7 @@ copyArtifacts filter: 'averagewer.txt', fingerprintArtifacts: true, projectName:
stage('Count words') { stage('Count words') {
steps { steps {
sh label: '', script: './count.sh wikiniews_results.tsv' sh label: '', script: './count.sh wikiniews_results.tsv'
sh label: '', script: './count2.sh wikiniews_results.tsv' sh label: '', script: './count2.sh'
} }
} }
stage('Archive atifacts') { stage('Archive atifacts') {