jenkinsfile
This commit is contained in:
parent
34cbdcbc7a
commit
11fbd17066
@ -9,10 +9,10 @@ counter = 0
|
||||
|
||||
with open("helper.txt", "r") as f:
|
||||
for line in f:
|
||||
if re.match(r'^id.*', line):
|
||||
if re.match(r'^id:.*', line):
|
||||
lastId = line.replace("\n", "")
|
||||
elif re.match(r'^Scores.*', line):
|
||||
helper = line.replace("Scores (#C #S #D #I) ", "").split()
|
||||
elif re.match(r'^Scores:.*', line):
|
||||
helper = line.replace("Scores: (#C #S #D #I) ", "").split()
|
||||
sum = int(helper[0]) + int(helper[1]) + int(helper[2]) + int(helper[3])
|
||||
sum = (int(helper[0])/int(sum)) * 100
|
||||
globalPercent += sum
|
||||
|
Loading…
Reference in New Issue
Block a user