jenkinsfile

This commit is contained in:
unknown 2020-04-03 14:24:43 +02:00
parent 651b3baaa0
commit 6eeb36f3cb

View File

@ -9,6 +9,6 @@ with open("helper.txt", "r") as f:
elif re.match(r'^Scores:.*', line):
helper = line.replace("Scores: (#C #S #D #I) ", "").split()
sum = helper[0] + helper[1] + helper[2] + helper[3]
wer.write(str((helper[0]/sum) * 100) + "%\n")
wer.write(str((int(helper[0])/int(sum)) * 100) + "%\n")
wer.close()