Moved calls to script.sh
This commit is contained in:
parent
629718d45d
commit
44328f67d8
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -5,15 +5,9 @@ node {
|
|||||||
def docker_image = docker.build("the_docker_image")
|
def docker_image = docker.build("the_docker_image")
|
||||||
|
|
||||||
docker_image.inside{
|
docker_image.inside{
|
||||||
sh "echo echo inside"
|
sh label: '', script: './script.sh'
|
||||||
sh 'awk -f get_2nd.awk < wikiniews_results.tsv > hypotheses.txt'
|
|
||||||
sh 'awk -f get_3rd.awk < wikiniews_results.tsv > references.txt'
|
|
||||||
sh 'awk -f txt_to_tsr_converter.awk < references.txt > references.trn'
|
|
||||||
sh 'awk -f txt_to_tsr_converter.awk < hypotheses.txt > hypotheses.trn'
|
|
||||||
sh 'sclite -f 0 -r references.trn trn -h hypotheses.trn trn -e utf-8 -i rm -o all stdout'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sh label: '', script: './script.sh'
|
|
||||||
archiveArtifacts 'output'
|
archiveArtifacts 'output'
|
||||||
sh 'ls -l'
|
sh 'ls -l'
|
||||||
sh 'cat output'
|
sh 'cat output'
|
||||||
|
@ -1 +1,5 @@
|
|||||||
wc -l wikiniews_results.tsv > output
|
awk -f get_2nd.awk < wikiniews_results.tsv > hypotheses.txt
|
||||||
|
awk -f get_3rd.awk < wikiniews_results.tsv > references.txt
|
||||||
|
awk -f txt_to_tsr_converter.awk < references.txt > references.trn
|
||||||
|
awk -f txt_to_tsr_converter.awk < hypotheses.txt > hypotheses.trn
|
||||||
|
sclite -f 0 -r references.trn trn -h hypotheses.trn trn -e utf-8 -i rm -o all stdout -O tmp_metrics
|
Loading…
Reference in New Issue
Block a user