Labeled the job only the job has the bugref exists
This commit is contained in:
parent
75ee7ef3e1
commit
6fe6ec6896
@ -237,7 +237,7 @@ class ToTestBase(object):
|
|||||||
|
|
||||||
if not ignored:
|
if not ignored:
|
||||||
number_of_fails += 1
|
number_of_fails += 1
|
||||||
if not labeled:
|
if not labeled and len(refs) > 0:
|
||||||
data = {'text': 'label:unknown_failure'}
|
data = {'text': 'label:unknown_failure'}
|
||||||
self.openqa.openqa_request(
|
self.openqa.openqa_request(
|
||||||
'POST', 'jobs/%s/comments' % job['id'], data=data)
|
'POST', 'jobs/%s/comments' % job['id'], data=data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user