metryki
This commit is contained in:
parent
0e503074d5
commit
63ef809c9a
21
JenkinsfilePlots
Normal file
21
JenkinsfilePlots
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
pipeline {
|
||||||
|
agent { dockerfile true }
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Hello') {
|
||||||
|
steps {
|
||||||
|
echo 'Hello World'
|
||||||
|
echo 'Trigger Check'
|
||||||
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416267/s416267-mlworkshops']]])
|
||||||
|
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
||||||
|
sh('chmod +x ./lines.sh')
|
||||||
|
sh('./lines.sh')
|
||||||
|
archiveArtifacts 'lines_number.txt'
|
||||||
|
archiveArtifacts 'wer.txt'
|
||||||
|
archiveArtifacts 'srr.txt'
|
||||||
|
archiveArtifacts 'wer.tsv'
|
||||||
|
archiveArtifacts 'wikiniews_results_with_wer.tsv'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
4
lines.sh
4
lines.sh
@ -6,8 +6,8 @@ cut -f3 wikiniews_results.tsv > reference.txt
|
|||||||
mv wer.txt wer1.txt
|
mv wer.txt wer1.txt
|
||||||
mv srr.txt srr1.txt
|
mv srr.txt srr1.txt
|
||||||
|
|
||||||
cat wer1.txt | tail -n 6 > wer.txt
|
cat wer1.txt | tail -n 99 > wer.txt
|
||||||
cat srr1.txt | tail -n 6 > srr.txt
|
cat srr1.txt | tail -n 99 > srr.txt
|
||||||
|
|
||||||
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn
|
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn
|
||||||
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn
|
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn
|
||||||
|
Loading…
Reference in New Issue
Block a user