Skip to content
This repository was archived by the owner on Apr 26, 2018. It is now read-only.

Commit 86760c6

Browse files
authored
Update main.py
1 parent 2d50016 commit 86760c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def parseResult(text):
3232
root = etree.fromstring(text)
3333
buildStatus = BUILD_STATUS_SUCCESS
3434
for child in root:
35+
if child.attrib['name'] not in ['Call Centre CI Build', 'Call Centre Installer Build'] :
36+
continue
3537
lastBuildState = child.attrib['lastBuildStatus']
3638
if lastBuildState == 'Failure':
3739
buildStatus = BUILD_STATUS_FAILURE

0 commit comments

Comments
 (0)