jenkinsfile

This commit is contained in:
unknown 2020-04-03 15:42:01 +02:00
parent 8abf08a6b9
commit e10a8a41a9
2 changed files with 4 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -8,7 +8,9 @@ pipeline {
sh('chmod 755 ./metrics.sh') sh('chmod 755 ./metrics.sh')
sh('chmod 755 ./createWERandSRRFiles.py') sh('chmod 755 ./createWERandSRRFiles.py')
sh('./metrics.sh') sh('./metrics.sh')
archiveArtifacts 'liczba_linii.txt' archiveArtifacts 'wikiniews_resultsWithAdditionalColumn.tsv'
archiveArtifacts 'ssr.txt'
archiveArtifacts 'wer.txt'
} }
} }
} }

View File

@ -37,7 +37,7 @@ ssr.close()
with open('wikiniews_results.tsv','r') as f_in: with open('wikiniews_results.tsv','r') as f_in:
with open('wikiniews_results2.tsv', 'w') as f_out: with open('wikiniews_resultsWithAdditionalColumn.tsv', 'w') as f_out:
writer = csv.writer(f_out, delimiter=' ', lineterminator='\n') writer = csv.writer(f_out, delimiter=' ', lineterminator='\n')
reader = csv.reader(f_in, delimiter=' ') reader = csv.reader(f_in, delimiter=' ')