mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Debugging saucelabs
This commit is contained in:
parent
0306f78ded
commit
644eb799ed
@ -61,8 +61,11 @@ class PandoraWebDriverTestCase(TestCase):
|
||||
sauce_client.jobs.update_job(cls.sauce_labs_job_id, passed=False,tags=[environ["TRAVIS_BRANCH"],cls.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(environ["TRAVIS_COMMIT"])+"_"+str(cls.id().split('.')[1]))
|
||||
else:
|
||||
sauce_client.jobs.update_job(cls.sauce_labs_job_id, passed=True,tags=[environ["TRAVIS_BRANCH"],cls.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(environ["TRAVIS_COMMIT"])+"_"+str(cls.id().split('.')[1]))
|
||||
except:
|
||||
print "Could not annotate Sauce Labs job #%s" % str(cls)
|
||||
except Exception as e:
|
||||
print "Could not annotate Sauce Labs job #%s" % str(cls.sauce_labs_job_id)
|
||||
print "The job ID is: "+str(cls.id())
|
||||
print "The exception message can be found below."
|
||||
print e
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user