This commit is contained in:
Tomasz Łysiak 2019-04-26 11:43:27 +02:00
parent 816d4f2f16
commit 1333335f31
2 changed files with 2 additions and 4 deletions

4
Jenkinsfile vendored
View File

@ -10,9 +10,7 @@ pipeline {
}
sh 'git checkout'
sh 'python3 script.py'
publishers {
archiveArtifacts('build/test-output/**/*.html')
}
archiveArtifacts artifacts: 'num_lines.txt'
}
}
}

View File

@ -1,5 +1,5 @@
num_lines = sum(1 for line in open('./Infra/wikiniews_results.tsv'))
file = open('num_lines.py', 'w')
file.write('num_lines')
file.write('num_lines.txt')
file.close()